mirror of
https://github.com/libretro/libretro-super.git
synced 2024-06-02 19:38:30 -04: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 -----
|
# ----- read variables from recipe config -----
|
||||||
while read line; do
|
while read line; do
|
||||||
[ -z "${line}" ] && continue
|
[ -z "${line}" ] && continue
|
||||||
KEY="${line% *}"
|
KEY="${line%% *}"
|
||||||
VALUE="${line#* }"
|
VALUE="${line#* }"
|
||||||
rm -f -- "$TMPDIR/vars"
|
rm -f -- "$TMPDIR/vars"
|
||||||
|
|
||||||
if [ "${KEY}" = "PATH" ]; then
|
if [ "${KEY}" = "PATH" ]; then
|
||||||
export PATH=${VALUE}:${ORIGPATH}
|
export PATH=${VALUE}:${ORIGPATH}
|
||||||
echo PATH=${VALUE}:${ORIGPATH} >> $TMPDIR/vars
|
echo PATH=${VALUE}:${ORIGPATH} >> $TMPDIR/vars
|
||||||
else
|
else
|
||||||
export ${KEY}=${VALUE}
|
export ${KEY}="${VALUE}"
|
||||||
echo ${KEY}=${VALUE} >> $TMPDIR/vars
|
echo ${KEY}="${VALUE}" >> $TMPDIR/vars
|
||||||
fi
|
fi
|
||||||
echo "Setting: ${KEY} ${VALUE}"
|
echo "Setting: ${KEY} ${VALUE}"
|
||||||
done < $RECIPE.conf
|
done < $RECIPE.conf
|
||||||
|
|
Loading…
Reference in a new issue