diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-25 13:38:09 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-25 13:38:33 -0200 |
commit | 0cc93b7486b5d41fb034cd7100707a2886f31fec (patch) | |
tree | 17d9cb9771a82ba23722de10b83fc65a8c147a56 /tools | |
parent | 668d95a2a23a42747bba44ff29e701ebbdac622f (diff) | |
download | pfsense-0cc93b7486b5d41fb034cd7100707a2886f31fec.zip pfsense-0cc93b7486b5d41fb034cd7100707a2886f31fec.tar.gz |
Use $* to join all strings
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build_snapshots.sh | 2 | ||||
-rw-r--r-- | tools/builder_common.sh | 4 |
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") |