summaryrefslogtreecommitdiffstats
path: root/helper/system.inc
diff options
context:
space:
mode:
authorMichael Neves2013-06-05 16:04:51 +0200
committerMichael Neves2013-06-05 16:04:51 +0200
commit8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d (patch)
treeb9460f884c4e12b264a69b30654f9db6f3235ad7 /helper/system.inc
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d.tar.gz
tm-scripts-8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d.tar.xz
tm-scripts-8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d.zip
host bridge interface
Diffstat (limited to 'helper/system.inc')
-rw-r--r--helper/system.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/helper/system.inc b/helper/system.inc
index 0cfcfbc6..c37368cb 100644
--- a/helper/system.inc
+++ b/helper/system.inc
@@ -18,3 +18,11 @@ KERNEL_VERSION=$(uname -r)
# determine number of CPU cores
CPU_CORES=$(cat /proc/cpuinfo | grep processor | wc -l)
export MAKEFLAGS="-j$CPU_CORES"
+
+# Determine if we have lib64
+if [ "$(uname -m)x" = "x86_64x" ]; then
+ LIB64="lib64"
+else
+ LIB64="lib"
+fi
+