mktemp usage fixed
authorSlava Barinov <v.barinov@samsung.com>
Wed, 5 Dec 2018 09:53:17 +0000 (12:53 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Wed, 5 Dec 2018 09:53:17 +0000 (12:53 +0300)
agen5/mk-stamps.sh
build-aux/run-ag.sh
config/mk-shdefs.in

index 49269cf3291fb6d5d34cd81462c9bd5823c579d5..b9a97feb2230035407e8ac84f0f2a4c854dc15c3 100644 (file)
@@ -28,7 +28,7 @@
 #  because some of the rules are complex and we don't want to
 #  deal with the dual update problem.
 
-STAMP_TEMP_DIR=$(mktemp --suffix=.tdir -d /tmp/mk-stamps-XXXXXXXX)
+STAMP_TEMP_DIR=$(mktemp -d /tmp/mk-stamps-XXXXXXXX)
 exec 9>&2 2>> ${STAMP_TEMP_DIR}/mk-stamps.log
 stop_tracing=:
 if (shopt -qo xtrace)
index 6ee7b857cc1a8cb12d10a33c8de422a1d17c50f5..e279865f83f285184c2230faa0f29f4108d44bcd 100644 (file)
@@ -45,7 +45,7 @@ find_exe() {
   return 0
 }
 
-STAMP_TEMP_DIR=$(mktemp --suffix=.tdir -d /tmp/run-ag-XXXXXXXX)
+STAMP_TEMP_DIR=$(mktemp -d /tmp/run-ag-XXXXXXXX)
 exec 9>&2 2>> ${STAMP_TEMP_DIR}/mk-stamps.log
 VERBOSE=1
 
index 68aed2a2884eefffda6de98fe16d6c11b8b74d71..6c6c1b2f6949bb382b064e682c41fba778608652 100644 (file)
@@ -130,7 +130,7 @@ configure() {
 
 set -x
 exec 9>&2
-tmp=$(mktemp --suffix=.tdir -d /tmp/shdefs-XXXXXXXXX)
+tmp=$(mktemp -d /tmp/shdefs-XXXXXXXXX)
 exec 2>> $tmp/mk-shdef.log
 init $0 $1
 mk_config