summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-12 19:32:48 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-16 22:12:31 -0600
commit5ba4756a52e8f1280d4dbcff62dec4a4aeb47d1c (patch)
tree2dc1b0afc9e8bd80af74a66cd006032d5c74e7ef /db-functions
parent86aeadb4c3d56f168e0bce34e0e2fa06c1ccb78b (diff)
Don't make assumptions about the host architecture.
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-functions b/db-functions
index b3a4293..4029abf 100644
--- a/db-functions
+++ b/db-functions
@@ -1,7 +1,7 @@
#!/bin/bash
# Some PKGBUILDs need CARCH to be set
-CARCH="x86_64"
+CARCH=$(. $(librelib conf.sh); load_files makepkg; echo $CARCH)
# Useful functions
UMASK=""