blob: 68ce96052733882ca857db4bd486e71e7d54ce26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- xclip-copyfile.orig 2016-09-13 07:09:12 UTC
+++ xclip-copyfile
@@ -5,7 +5,7 @@ if [ "x$1" = "x" ]; then
echo "-p Copy path information; preserve tree structure"
exit 1
fi
-archive=`mktemp` || exit 1
+archive=`mktemp -t xclip` || exit 1
trap 'rm -f "${archive}"' 1 2 3 15
if [ "x$1" = "x-p" ]; then
tar cf "${archive}" "$@"
|