fix typo in job iteration

This commit is contained in:
Anthony Young 2011-11-10 09:56:12 -08:00
parent ec38c40a4d
commit 5df681819a

View file

@ -42,7 +42,8 @@ cat > $JENKINS_GITCONF <<EOF
EOF EOF
# Add build numbers # Add build numbers
for job in ${`ls jobs`// / }; do JOBS=`ls jobs`
for job in ${JOBS// / }; do
if [ ! -e jobs/$job/nextBuildNumber ]; then if [ ! -e jobs/$job/nextBuildNumber ]; then
echo 1 > jobs/$job/nextBuildNumber echo 1 > jobs/$job/nextBuildNumber
fi fi