19 lines
659 B
Diff
19 lines
659 B
Diff
diff -Nru automake-1.11.2.orig/lib/ylwrap automake-1.11.2/lib/ylwrap
|
|
--- automake-1.11.2.orig/lib/ylwrap 2011-12-13 18:02:57.000000000 +0100
|
|
+++ automake-1.11.2/lib/ylwrap 2012-01-25 16:34:28.863942637 +0100
|
|
@@ -98,13 +98,12 @@
|
|
|
|
# FIXME: add hostname here for parallel makes that run commands on
|
|
# other machines. But that might take us over the 14-char limit.
|
|
-dirname=ylwrap$$
|
|
+dirname=`mktemp -d ylwrap.XXXXXX`
|
|
do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret'
|
|
trap "ret=129; $do_exit" 1
|
|
trap "ret=130; $do_exit" 2
|
|
trap "ret=141; $do_exit" 13
|
|
trap "ret=143; $do_exit" 15
|
|
-mkdir $dirname || exit 1
|
|
|
|
cd $dirname
|
|
|