From d2478fbb8818ac2f4bc09e77ad5353f322e3607b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 16 Dec 2015 14:39:59 +0100 Subject: always use mktemp with '-t -XXXX' --- bin/common-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/common-functions.sh') diff --git a/bin/common-functions.sh b/bin/common-functions.sh index b79c5381..f27dac70 100755 --- a/bin/common-functions.sh +++ b/bin/common-functions.sh @@ -107,7 +107,7 @@ publish_changes_to_userContent() { fi VERSION=$(basename $CHANGES | cut -d "_" -f2) TARGET="/var/lib/jenkins/userContent/$SRCPKG" - NEW_CONTENT=$(mktemp -d) + NEW_CONTENT=$(mktemp -d -t new-content-XXXXXXXX) for DEB in $(dcmd --deb $CHANGES) ; do dpkg --extract $DEB ${NEW_CONTENT} 2>/dev/null done -- cgit v1.2.3-54-g00ecf