diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-20 20:03:25 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-20 20:03:25 +0000 |
commit | 23970267de35293efb5a21bf39434431915913c7 (patch) | |
tree | 12109162b8a0c2ecb1d8a51a03f40d3eb9dc3098 | |
parent | cfb64fb4992ac14d0b1e89ccd1cfa705c41ef8bd (diff) | |
download | vcs-rebuild-23970267de35293efb5a21bf39434431915913c7.tar.xz |
Fix repo building
-rwxr-xr-x | build-updated-packages.bash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-updated-packages.bash b/build-updated-packages.bash index e494f6a..3993cde 100755 --- a/build-updated-packages.bash +++ b/build-updated-packages.bash @@ -1,6 +1,7 @@ #!/usr/bin/env bash -source $(dirname $0)/config.bash +source "${BASH_SOURCE%/*}"/config.bash +db_build_script="$(pwd)"/"${BASH_SOURCE%/*}"/db-build cd "$PKGBUILD_DIR" @@ -67,7 +68,7 @@ main() { wait fi - $(dirname $0)/db-build + "$db_build_script" } main "$@" |