Use $* to join all strings

This commit is contained in:
Renato Botelho 2015-11-25 13:38:09 -02:00
parent 668d95a2a2
commit 0cc93b7486
2 changed files with 3 additions and 3 deletions

View File

@ -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() {

View File

@ -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")