remove deprecated mktemp args and name vars more clearly

This commit is contained in:
Michael Hobbs committed 2016-03-29 19:46:46 -07:00
1 parent 8a4b2f9a2e
commit 9ce7470b87
11 files changed
+46 -46

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ teardown() {
deploy_app_tar() {
APP_TYPE="$1"; APP_TYPE=${APP_TYPE:="nodejs-express"}
TMP=$(mktemp -d -t "dokku.me.XXXXX")
TMP=$(mktemp -d "/tmp/dokku.me.XXXXX")
rmdir "$TMP" && cp -r "./tests/apps/$APP_TYPE" "$TMP"
pushd "$TMP" &> /dev/null || exit 1