[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: call option destination
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: call option destination, not prefix |
Date: |
Fri, 23 Aug 2019 18:02:49 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 3a989f0 call option destination, not prefix
3a989f0 is described below
commit 3a989f016c0ad44e5d75ff020f40ea062c36c48a
Author: Florian Dold <address@hidden>
AuthorDate: Fri Aug 23 18:02:42 2019 +0200
call option destination, not prefix
---
configure | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/configure b/configure
index 54c6944..469bad7 100755
--- a/configure
+++ b/configure
@@ -9,7 +9,7 @@ usage() {
echo " -h, --help display this help and exit"
echo
echo "Installation directories:"
- echo " --prefix=[local|global] install Python package locally or globally"
+ echo " --destination=[local|global] install Python package locally or
globally"
}
@@ -21,7 +21,7 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then
exit 1
fi
-LONGOPTS=prefix:,help
+LONGOPTS=destination:,help
OPTIONS=h
! PARSED=$(getopt --options=$OPTIONS --longoptions=$LONGOPTS --name "$0" --
"$@")
@@ -34,12 +34,12 @@ fi
# read getopt’s output this way to handle the quoting right:
eval set -- "$PARSED"
-prefix="local"
+destination="local"
while true; do
case "$1" in
- --prefix)
- prefix="$2"
+ --destination)
+ destination="$2"
shift 2
;;
-h|--help)
@@ -57,7 +57,7 @@ while true; do
esac
done
-case "$prefix" in
+case "$destination" in
local)
install_global=false
;;
@@ -65,7 +65,7 @@ case "$prefix" in
install_global=true
;;
*)
- echo "Prefix must be 'local' or 'global', paths are not allowed."
+ echo "Destination (--destination) must be 'local' or 'global', paths are
not allowed."
exit 3
;;
esac
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: call option destination, not prefix,
gnunet <=