mirror of
https://github.com/libretro/libretro-super
synced 2024-12-25 15:20:40 +00:00
Merge pull request #1536 from hcvcastro/pr/master/00
fix add configure parameters to retroarch
This commit is contained in:
commit
5478fa78cc
@ -24,15 +24,16 @@ ENTRY_ID=""
|
||||
# ----- read variables from recipe config -----
|
||||
while read line; do
|
||||
[ -z "${line}" ] && continue
|
||||
KEY="${line% *}"
|
||||
KEY="${line%% *}"
|
||||
VALUE="${line#* }"
|
||||
rm -f -- "$TMPDIR/vars"
|
||||
|
||||
if [ "${KEY}" = "PATH" ]; then
|
||||
export PATH=${VALUE}:${ORIGPATH}
|
||||
echo PATH=${VALUE}:${ORIGPATH} >> $TMPDIR/vars
|
||||
else
|
||||
export ${KEY}=${VALUE}
|
||||
echo ${KEY}=${VALUE} >> $TMPDIR/vars
|
||||
export ${KEY}="${VALUE}"
|
||||
echo ${KEY}="${VALUE}" >> $TMPDIR/vars
|
||||
fi
|
||||
echo "Setting: ${KEY} ${VALUE}"
|
||||
done < $RECIPE.conf
|
||||
|
Loading…
Reference in New Issue
Block a user