Merge pull request #594 from orbea/cut

libretro-buildbot-recipe.sh: Fix build script failures if the recipe …
This commit is contained in:
Twinaphex 2017-11-14 07:37:46 +01:00 committed by GitHub
commit 29081cc55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -797,11 +797,11 @@ while read line; do
ARGS=""
for number in {10..30}; do
TEMP="$(echo "$line" | cut -f "$number" -d " ")"
if [ -n "${TEMP}" ]; then
ARGS="${ARGS} ${TEMP}"
fi
eval "set -- \$line"
shift 9
while [ $# -gt 0 ]; do
ARGS="${ARGS} ${1}"
shift
done
ARGS="${ARGS# }"
@ -938,11 +938,11 @@ buildbot_pull(){
ARGS=""
for number in {9..14}; do
TEMP="$(echo "$line" | cut -f "$number" -d " ")"
if [ -n "${TEMP}" ]; then
ARGS="${ARGS} ${TEMP}"
fi
eval "set -- \$line"
shift 8
while [ $# -gt 0 ]; do
ARGS="${ARGS} ${1}"
shift
done
ARGS="${ARGS# }"