env sanitization
This commit is contained in:
parent
5a99ae9511
commit
ecd2ccb87c
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,13 @@ fi
|
||||||
debootstrap --arch=i386 stable debian-stable-android
|
debootstrap --arch=i386 stable debian-stable-android
|
||||||
cp $0-inchroot debian-stable-android/tmp
|
cp $0-inchroot debian-stable-android/tmp
|
||||||
cp $0-inchroot-asuser 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"
|
chroot debian-stable-android "tmp/$(basename $0)-inchroot"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue