summaryrefslogtreecommitdiffstats
path: root/db-remove
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-24 12:27:52 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-24 12:27:52 +0200
commite9948d8392d5ab986541c0d7120f1e5c510261ad (patch)
tree98a8b002e9f0f16ac5da58644f6865eb168dfb9f /db-remove
parent9e8897aeadb2aa51b70c5fc0ed1ae281b015d146 (diff)
downloaddbscripts-e9948d8392d5ab986541c0d7120f1e5c510261ad.tar.gz
dbscripts-e9948d8392d5ab986541c0d7120f1e5c510261ad.tar.xz
db-remove: source functions before using them
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove6
1 files 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) <pkgname|pkgbase> <repo> <arch>"
exit 1
fi
-. "$(dirname $0)/db-functions"
-. "$(dirname $0)/config"
-
pkgbase="$1"
repo="$2"
arch="$3"