diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-06-04 08:59:14 -0400 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-06-04 09:34:42 -0400 |
commit | baf00c0262e1b31393c440977f8c1d0653bf2b96 (patch) | |
tree | 62989021442a09ad9105d3e5fe9124074af838cc /contrib | |
parent | 93943bdb5b6ab43b6bcfdb721f67674cc89250d6 (diff) | |
download | exchange-baf00c0262e1b31393c440977f8c1d0653bf2b96.tar.xz |
move "gana/" to caller
This allows for other prefix dirs to be used.
(domake): Consider $1 to be dir under ‘contrib/’.
(ensure): Likewise, for $2.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gana-update.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/gana-update.sh b/contrib/gana-update.sh index db122b9a3..04cdcef5b 100755 --- a/contrib/gana-update.sh +++ b/contrib/gana-update.sh @@ -5,8 +5,8 @@ set -eu domake () { - # $1 -- dir under contrib/gana/ - dir="contrib/gana/$1" + # $1 -- dir under contrib/ + dir="contrib/$1" make -C $dir } @@ -14,10 +14,10 @@ domake () ensure () { # $1 -- filename - # $2 -- src dir under contrib/gana/ + # $2 -- src dir under contrib/ # $3 -- dst dir under ./ fn="$1" - src="contrib/gana/$2" + src="contrib/$2" dst="./$3" if ! diff $src/$fn $dst/$fn > /dev/null @@ -26,9 +26,9 @@ ensure () fi } -domake gnu-taler-error-codes -ensure taler_error_codes.c gnu-taler-error-codes src/util -ensure taler_error_codes.h gnu-taler-error-codes src/include +domake gana/gnu-taler-error-codes +ensure taler_error_codes.c gana/gnu-taler-error-codes src/util +ensure taler_error_codes.h gana/gnu-taler-error-codes src/include -domake gnu-taler-db-events -ensure taler_dbevents.h gnu-taler-db-events src/include +domake gana/gnu-taler-db-events +ensure taler_dbevents.h gana/gnu-taler-db-events src/include |