index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Alad Wenter <alad@archlinux.info> | 2016-10-10 10:47:38 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-10-22 20:50:54 +1000 |
commit | 1f8f0bd9ac4c11cdc1b9506f9f64d8192ecad4ee (patch) | |
tree | 209a9b9e48a558b8b75ff062e4f86d86cb29df95 /scripts/pacman-db-upgrade.sh.in | |
parent | dfc78129be7acaa0ebe71fe407d63b5141c10150 (diff) |
-rw-r--r-- | scripts/pacman-db-upgrade.sh.in | 5 |
diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index 79e1c590..2bf444e1 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -30,7 +30,10 @@ declare -r myver='@PACKAGE_VERSION@' m4_include(library/output_format.sh) -m4_include(library/parseopts.sh) +LIBRARY=${LIBRARY:-'@libmakepkgdir@'} + +# Import parseopts.sh +source "$LIBRARY"/util/parseopts.sh usage() { printf "pacman-db-upgrade (pacman) %s\n" "${myver}" |