diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-16 14:39:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-16 14:39:59 +0100 |
commit | d2478fbb8818ac2f4bc09e77ad5353f322e3607b (patch) | |
tree | 1e477308acd13527ddd982a15849e5820632448c /bin/common-functions.sh | |
parent | 97c2469c69f3533aef3160b27c796713c69d2f2e (diff) | |
download | jenkins.debian.net-d2478fbb8818ac2f4bc09e77ad5353f322e3607b.tar.xz |
always use mktemp with '-t -XXXX'
Diffstat (limited to 'bin/common-functions.sh')
-rwxr-xr-x | bin/common-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |