diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-24 12:27:52 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-24 12:27:52 +0200 |
commit | e9948d8392d5ab986541c0d7120f1e5c510261ad (patch) | |
tree | 98a8b002e9f0f16ac5da58644f6865eb168dfb9f /db-remove | |
parent | 9e8897aeadb2aa51b70c5fc0ed1ae281b015d146 (diff) |
db-remove: source functions before using them
Diffstat (limited to 'db-remove')
-rwxr-xr-x | db-remove | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,13 +1,13 @@ #!/bin/bash +. "$(dirname $0)/db-functions" +. "$(dirname $0)/config" + if [ $# -ne 3 ]; then msg "usage: $(basename $0) <pkgname|pkgbase> <repo> <arch>" exit 1 fi -. "$(dirname $0)/db-functions" -. "$(dirname $0)/config" - pkgbase="$1" repo="$2" arch="$3" |