diff options
author | Ned Ludd <solar@gentoo.org> | 2004-11-27 21:26:17 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-11-27 21:26:17 +0000 |
commit | 91b83b7521e93973f9c013904f91da01dd1f3ccd (patch) | |
tree | 9a938935a678f0758861cdb9f4562fbcce25ce61 /scripts | |
parent | -sparc because of weirdness (Manifest recommit) (diff) | |
download | gentoo-2-91b83b7521e93973f9c013904f91da01dd1f3ccd.tar.gz gentoo-2-91b83b7521e93973f9c013904f91da01dd1f3ccd.tar.bz2 gentoo-2-91b83b7521e93973f9c013904f91da01dd1f3ccd.zip |
-n does not work correctly with unset
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index c1a504605c56..6dc0934bbf2d 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.63 2004/11/24 13:57:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.64 2004/11/27 21:26:17 solar Exp $ # people who were here: # (drobbins, 06 Jun 2003) @@ -25,7 +25,9 @@ progressfile=/var/run/bootstrap-progress [ -e ${progressfile} ] && source ${progressfile} export BOOTSTRAP_STAGE="${BOOTSTRAP_STAGE:-1}" set_bootstrap_stage() { - [ -n "${STRAP_RUN}" ] && return 0 + # -n does not work correctly with unset + #[ -n "${STRAP_RUN}" ] && return 0 + [ "${STRAP_RUN}" = "" ] && return 0 export BOOTSTRAP_STAGE=$1 echo "BOOTSTRAP_STAGE=$1" > ${progressfile} } |