summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-02-22 09:43:50 +0000
committerJonas Smedegaard <dr@jones.dk>2007-02-22 09:43:50 +0000
commit907732f1d2c85053f70b8461473f9c050f3481f1 (patch)
tree07b5b3da9c42ffbf2804b45d5d9a280ff80b441f
parent5aa861e06060d95756ff60fb3caf3e458c314faf (diff)
Use mktemp to create target dir.
-rwxr-xr-xsavelocaltweaks2
1 files changed, 1 insertions, 1 deletions
diff --git a/savelocaltweaks b/savelocaltweaks
index 96e9e0b..6274609 100755
--- a/savelocaltweaks
+++ b/savelocaltweaks
@@ -3,7 +3,7 @@
#set -e
basedir="/etc"
-targetdir="/tmp/localtweaks"
+targetdir="`mktemp -td localtweaks.XXXXXX`"
includefile="/etc/local/localtweaks.include"
excludefile="/etc/local/localtweaks.exclude"
extensions=".orig .old"