Révision d6411f2f
Ajouté par Ermal il y a environ 10 ans
builder_scripts/build_snapshots.sh | ||
---|---|---|
104 | 104 |
COUNTER=0 |
105 | 105 |
while [ $COUNTER -lt $maxsleepvalue ]; do |
106 | 106 |
sleep 60 |
107 |
PFSENSE_CURRENT_COMMIT=git_last_commit "${GIT_REPO_DIR}/pfSenseGITREPO" origin/${PFSENSETAG}
|
|
107 |
PFSENSE_CURRENT_COMMIT=$(git_last_commit "${GIT_REPO_DIR}/pfSenseGITREPO" origin/${PFSENSETAG})
|
|
108 | 108 |
if [ "$PFSENSE_LAST_COMMIT" != "$PFSENSE_CURRENT_COMMIT" ]; then |
109 | 109 |
update_status ">>> New commit: $CURRENT_AUTHOR - $CURRENT_COMMIT .. No longer sleepy." |
110 | 110 |
COUNTER="`expr $maxsleepvalue + 60`" |
111 | 111 |
export PFSENSE_LAST_COMMIT="${PFSENSE_CURRENT_COMMIT}" |
112 | 112 |
return |
113 | 113 |
fi |
114 |
TOOLS_CURRENT_COMMIT=git_last_commit "${PWD}" origin
|
|
114 |
TOOLS_CURRENT_COMMIT=$(git_last_commit "${PWD}" origin)
|
|
115 | 115 |
if [ "$TOOLS_LAST_COMMIT" != "$TOOLS_CURRENT_COMMIT" ]; then |
116 | 116 |
update_status ">>> New commit: $CURRENT_AUTHOR - $CURRENT_COMMIT .. No longer sleepy." |
117 | 117 |
COUNTER="`expr $maxsleepvalue + 60`" |
Formats disponibles : Unified diff
Make the argument to be passed correctly to function