* bash "-n"-test also evaluates empty strings to true

what the setup script doesn't like. fixes install.
This commit is contained in:
Michael Weirauch
2010-06-08 19:54:00 +00:00
parent 76a39bed1c
commit adbfc047e9
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ BUILD {
INSTALL {
cd scons-1.0.1
if [ -n ${DESTDIR} ];then
if [ ! -z ${DESTDIR} ];then
python2.5 setup.py install --root="${DESTDIR}" --prefix="/boot/common" --symlink-scons --standard-lib
else
python2.5 setup.py install --prefix="/boot/common" --symlink-scons --standard-lib