mirror of
https://github.com/libretro/libretro-super.git
synced 2024-06-02 19:38:30 -04:00
libretro-buildbot-recipe.sh: Don't export empty variables.
Silences the following error if the read file contains a blank line. ./libretro-buildbot-recipe.sh: line 31: export: `=': not a valid identifier
This commit is contained in:
parent
7ce8a5d982
commit
aa31fb2771
|
@ -21,6 +21,7 @@ ENTRY_ID=""
|
|||
|
||||
# ----- read variables from recipe config -----
|
||||
while read line; do
|
||||
[ -z "${line}" ] && continue
|
||||
KEY=`echo $line | cut -f 1 -d " "`
|
||||
VALUE=`echo $line | cut -f 2 -d " "`
|
||||
rm -f -- "$TMPDIR/vars"
|
||||
|
|
|
@ -5,4 +5,3 @@ CORE_JOB YES
|
|||
MAKE make
|
||||
CMAKE cmake
|
||||
PATH /usr/lib/ccache
|
||||
|
||||
|
|
Loading…
Reference in a new issue