mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-16 12:28:27 +00:00
Add prefix, exec-prefix and install-root arguments
This commit is contained in:
parent
37014ec86d
commit
563c34b3f2
@ -14,6 +14,27 @@ while [ -n "$1" ]; do
|
||||
showusage=yes
|
||||
break
|
||||
;;
|
||||
--prefix=*)
|
||||
PREFIX="${1#--prefix=}"
|
||||
;;
|
||||
--prefix)
|
||||
PREFIX="$2"
|
||||
shift
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
EXECPREFIX="${1#--exec-prefix=}"
|
||||
;;
|
||||
--exec-prefix)
|
||||
EXECPREFIX="$2"
|
||||
shift
|
||||
;;
|
||||
--install-root=*)
|
||||
INSTALL_ROOT="${1#--install-root=}"
|
||||
;;
|
||||
--install-root)
|
||||
INSTALL_ROOT="$2"
|
||||
shift
|
||||
;;
|
||||
-*)
|
||||
echo "Invalid option '$1'"
|
||||
showusage=yes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user