From 907732f1d2c85053f70b8461473f9c050f3481f1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 22 Feb 2007 09:43:50 +0000 Subject: Use mktemp to create target dir. --- savelocaltweaks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'savelocaltweaks') 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" -- cgit v1.2.3