19 lines
556 B
Diff
19 lines
556 B
Diff
|
diff -Nru automake-1.14.orig/lib/ylwrap automake-1.14/lib/ylwrap
|
||
|
--- automake-1.14.orig/lib/ylwrap 2013-06-20 10:44:16.000000000 +0200
|
||
|
+++ automake-1.14/lib/ylwrap 2013-06-22 11:01:36.962624044 +0200
|
||
|
@@ -161,13 +161,12 @@
|
||
|
*[\\/]*) prog=`pwd`/$prog ;;
|
||
|
esac
|
||
|
|
||
|
-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
|
||
|
|