summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-02 16:01:47 -0300
committerRenato Botelho <renato@netgate.com>2016-08-02 16:02:12 -0300
commita07126aa749eaa846e59b98f2b13d003c007572c (patch)
tree4aeaa648fb13a32c86bc49e2fa8fd9a4b27fa047 /build
parentf680e46cbc1a4412a3500e5381e57d61b4f31a5c (diff)
downloadpfsense-a07126aa749eaa846e59b98f2b13d003c007572c.zip
pfsense-a07126aa749eaa846e59b98f2b13d003c007572c.tar.gz
Remove redundant attribution
Diffstat (limited to 'build')
-rwxr-xr-xbuild/scripts/create_core_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/create_core_pkg.sh b/build/scripts/create_core_pkg.sh
index 80718ef..8712398 100755
--- a/build/scripts/create_core_pkg.sh
+++ b/build/scripts/create_core_pkg.sh
@@ -103,7 +103,7 @@ template_licensedir=${template_path}/_license
[ -d ${template_metadir} ] \
|| err "template directory not found for package ${template_name}"
-scratchdir=$(mktemp -d -q ${TMPDIR:-/tmp}/${template_name}.XXXXXXX)
+scratchdir=$(mktemp -d -q ${TMPDIR}/${template_name}.XXXXXXX)
[ -n "${scratchdir}" -a -d ${scratchdir} ] \
|| err "error creating temporary directory"
OpenPOWER on IntegriCloud