From 23970267de35293efb5a21bf39434431915913c7 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 20 Nov 2014 20:03:25 +0000 Subject: Fix repo building --- build-updated-packages.bash | 5 +++-- 1 file 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 "$@" -- cgit v1.2.3-70-g09d2