mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
Use case instead of substring as /bin/sh does not support substring
This commit is contained in:
parent
c63faa0cae
commit
a0e6bf83a8
@ -20,9 +20,11 @@ fi
|
||||
osname=`uname -s | tr ' ' '_'`
|
||||
osarch=`uname -m | tr ' ' '_'`
|
||||
|
||||
if [ ${osname:0:6} = "CYGWIN" ] ; then
|
||||
osname="CYGWIN"
|
||||
fi
|
||||
case `uname` in
|
||||
CYGWIN*) osname="CYGWIN"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
if [ $osname = "Darwin" ] ; then
|
||||
archpath=`dirname stage/tools/PocoDoc/bin/Darwin/*/PocoDoc`
|
||||
|
Loading…
x
Reference in New Issue
Block a user