summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-25 13:38:09 -0200
committerRenato Botelho <renato@netgate.com>2015-11-25 13:38:33 -0200
commit0cc93b7486b5d41fb034cd7100707a2886f31fec (patch)
tree17d9cb9771a82ba23722de10b83fc65a8c147a56 /tools
parent668d95a2a23a42747bba44ff29e701ebbdac622f (diff)
downloadpfsense-0cc93b7486b5d41fb034cd7100707a2886f31fec.zip
pfsense-0cc93b7486b5d41fb034cd7100707a2886f31fec.tar.gz
Use $* to join all strings
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build_snapshots.sh2
-rw-r--r--tools/builder_common.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh
index 98fcc6f..0e9dee7 100755
--- a/tools/build_snapshots.sh
+++ b/tools/build_snapshots.sh
@@ -84,7 +84,7 @@ export _sleeping=0
snapshot_update_status() {
${BUILDER_ROOT}/build.sh ${NO_UPLOAD} ${POUDRIERE_SNAPSHOTS} \
- --snapshot-update-status "$@"
+ --snapshot-update-status "$*"
}
git_last_commit() {
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 453c7cf..be843b1 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2054,8 +2054,8 @@ snapshots_update_status() {
if [ -z "${SNAPSHOTS}" -a -z "${POUDRIERE_SNAPSHOTS}" ]; then
return
fi
- echo "$@"
- echo "`date` -|- $@" >> $SNAPSHOTSLOGFILE
+ echo "$*"
+ echo "`date` -|- $*" >> $SNAPSHOTSLOGFILE
if [ -z "${DO_NOT_UPLOAD}" -a -n "${SNAPSHOTS_RSYNCIP}" ]; then
LU=$(cat $SNAPSHOTSLASTUPDATE 2>/dev/null)
CT=$(date "+%H%M%S")
OpenPOWER on IntegriCloud