From e9948d8392d5ab986541c0d7120f1e5c510261ad Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 24 Aug 2010 12:27:52 +0200 Subject: db-remove: source functions before using them --- db-remove | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db-remove b/db-remove index 188cc60..8dabb18 100755 --- a/db-remove +++ b/db-remove @@ -1,13 +1,13 @@ #!/bin/bash +. "$(dirname $0)/db-functions" +. "$(dirname $0)/config" + if [ $# -ne 3 ]; then msg "usage: $(basename $0) " exit 1 fi -. "$(dirname $0)/db-functions" -. "$(dirname $0)/config" - pkgbase="$1" repo="$2" arch="$3" -- cgit v1.2.3-24-g4f1b