summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-07-10 01:56:52 +0000
committerMike Frysinger <vapier@gentoo.org>2003-07-10 01:56:52 +0000
commitba9c3acaee00cd42c533c6889b23286dea3c89e4 (patch)
tree104baea1c3798df88021fb018027c281e40dbee8 /app-shells/sandboxshell/files
parentadded metadata (diff)
downloadgentoo-2-ba9c3acaee00cd42c533c6889b23286dea3c89e4.tar.gz
gentoo-2-ba9c3acaee00cd42c533c6889b23286dea3c89e4.tar.bz2
gentoo-2-ba9c3acaee00cd42c533c6889b23286dea3c89e4.zip
make sure to source right env
Diffstat (limited to 'app-shells/sandboxshell/files')
-rw-r--r--app-shells/sandboxshell/files/sandboxshell.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-shells/sandboxshell/files/sandboxshell.conf b/app-shells/sandboxshell/files/sandboxshell.conf
index 276fd8f89797..d64150566dff 100644
--- a/app-shells/sandboxshell/files/sandboxshell.conf
+++ b/app-shells/sandboxshell/files/sandboxshell.conf
@@ -1,7 +1,7 @@
#!/bin/bash
# Written by vapier@gentoo.org
# public-domain code ... z0r ...
-# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/files/sandboxshell.conf,v 1.1 2003/07/09 14:53:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/sandboxshell/files/sandboxshell.conf,v 1.2 2003/07/10 01:56:47 vapier Exp $
source /etc/profile
@@ -28,7 +28,7 @@ if [ "${PWD:0:${#sbs_pdir}}" == "${sbs_pdir}" ] ; then
printf " * Would you like to load the environment? "
read env
sbs_PREPWD=${PWD}
- [ "${env}" == "y" ] && source ${PWD}/temp/environment 2> /dev/null
+ [ "${env}" == "y" ] && source ${sbs_tmpenvfile} 2> /dev/null
PWD=${sbs_PREPWD}
fi
fi