summaryrefslogtreecommitdiff
path: root/convert-to-any
diff options
context:
space:
mode:
Diffstat (limited to 'convert-to-any')
-rwxr-xr-xconvert-to-any7
1 files changed, 1 insertions, 6 deletions
diff --git a/convert-to-any b/convert-to-any
index 2ad1521..e21b7cd 100755
--- a/convert-to-any
+++ b/convert-to-any
@@ -15,12 +15,7 @@ if [ $# -ne 1 ]; then
exit 1
fi
-if [ -f /etc/makepkg.conf ]; then
- . /etc/makepkg.conf
-else
- echo "E: /etc/makepkg.conf does not exist."
- exit 1
-fi
+. "$(dirname $0)/db-functions"
cleanup() {
trap '' 0 2