mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
more intial fixes
This commit is contained in:
parent
d1b0b08ba0
commit
28a9108257
@ -30,20 +30,16 @@ if test $# -eq 0; then
|
|||||||
usage 1
|
usage 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cflags=false
|
|
||||||
libs=false
|
|
||||||
|
|
||||||
while test $# -gt 0; do
|
while test $# -gt 0; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
# this deals with options in the style
|
||||||
*) optarg= ;;
|
# --option=value and extracts the value part
|
||||||
|
# [not currently used]
|
||||||
|
-*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||||
|
*) value= ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--prefix=*)
|
|
||||||
prefix=$optarg
|
|
||||||
;;
|
|
||||||
|
|
||||||
--prefix)
|
--prefix)
|
||||||
echo $prefix
|
echo $prefix
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user