mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 13:20:52 +00:00
Fix some sed issues that seem to appear on Mac.
This commit is contained in:
parent
57eebebcdd
commit
c2896db558
@ -95,7 +95,7 @@ parse_input()
|
||||
case "$1" in
|
||||
|
||||
--prefix=*)
|
||||
prefix="`echo $1 | sed -e 's|^--prefix=\(\S\S*\)$|\1|' -e 's|\(\S\S*\)/$|\1|'`"
|
||||
prefix="`echo $1 | sed -e 's|^--prefix=||' -e 's|^\(.*\)/$|\1|'`"
|
||||
|
||||
if [ "$prefix" != "$1" ]; then
|
||||
PREFIX="$prefix"
|
||||
|
Loading…
x
Reference in New Issue
Block a user