Merge pull request #588 from orbea/vars

libretro-buildbot-recipe.sh: Don't error if /vars does not exist.
This commit is contained in:
Twinaphex 2017-11-13 17:19:58 +01:00 committed by GitHub
commit 7ce8a5d982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ ENTRY_ID=""
while read line; do
KEY=`echo $line | cut -f 1 -d " "`
VALUE=`echo $line | cut -f 2 -d " "`
rm $TMPDIR/vars
rm -f -- "$TMPDIR/vars"
if [ "${KEY}" = "PATH" ]; then
export PATH=${VALUE}:${ORIGPATH}
echo PATH=${VALUE}:${ORIGPATH} >> $TMPDIR/vars