MT#9683 Undo to the TMPDIR changes

piuparts provides the TMPDIR unfiltered to all subprocesses, so
plenty of tools fail with it. :(
changes/53/1253/1
Michael Prokop 12 years ago
parent 5a07f306b6
commit c2fe719794

@ -10,10 +10,6 @@ rm -f piuparts.tap
[ -n "$SCRIPTSDIR" ] || SCRIPTSDIR="$PWD/source/scripts/"
# /var/cache/pbuilder/ exists on all our slaves and if there's enough
# memory available then it's available as tmpfs
[ -n "$TMPDIR" ] || TMPDIR="$(sudo mktemp -d --tmpdir=/var/cache/pbuilder/ --suffix=_piuparts_tmp)"
# MT#5671 iff we get release-2.8-update, release-2.8 or release-2.8-builddeps
# then we want to use only the '2.8' part for our release variable
case "$release" in
@ -69,7 +65,7 @@ create_base_tgz() {
)
}
piuparts_cmdline="sudo release=$release TMPDIR=$TMPDIR SCRIPTSDIR=$PWD/source/scripts/ distribution=$distribution piuparts_wrapper --mirror=$mirror -i etc/init.d/ngcp-hylafaxplus -i etc/default/ngcp-iaxmodem"
piuparts_cmdline="sudo release=$release SCRIPTSDIR=$PWD/source/scripts/ distribution=$distribution piuparts_wrapper --mirror=$mirror -i etc/init.d/ngcp-hylafaxplus -i etc/default/ngcp-iaxmodem"
ce_pro_carrier() {
echo "*** Running for CE packages ***"
@ -154,5 +150,3 @@ else
fi
piuparts_tap --ignore-broken-symlinks piuparts.txt > piuparts.tap
sudo rmdir "$TMPDIR"

Loading…
Cancel
Save