env sanitization

This commit is contained in:
Joey Hess 2013-09-23 13:15:34 -04:00
parent 5a99ae9511
commit ecd2ccb87c

View file

@ -8,6 +8,13 @@ fi
debootstrap --arch=i386 stable debian-stable-android
cp $0-inchroot debian-stable-android/tmp
cp $0-inchroot-asuser debian-stable-android/tmp
# Don't use these vars in the chroot.
unset TMP
unset TEMP
unset TMPDIR
unset TEMPDIR
chroot debian-stable-android "tmp/$(basename $0)-inchroot"
echo