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
|
case "$1" in
|
||||||
|
|
||||||
--prefix=*)
|
--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
|
if [ "$prefix" != "$1" ]; then
|
||||||
PREFIX="$prefix"
|
PREFIX="$prefix"
|
||||||
|
|
Loading…
Reference in New Issue