diff options
author | Christian Rößler | 2013-09-10 16:09:04 +0200 |
---|---|---|
committer | Jonathan Bauer | 2013-09-30 13:22:05 +0200 |
commit | 51c537f1b3c24a39d0c5f3ee1d37e195825c8cdc (patch) | |
tree | 4f544c7a644fab47db58b871d6c6ca22e1fe3b84 /helper | |
parent | [vbox] Standardization for run-virt (diff) | |
download | tm-scripts-51c537f1b3c24a39d0c5f3ee1d37e195825c8cdc.tar.gz tm-scripts-51c537f1b3c24a39d0c5f3ee1d37e195825c8cdc.tar.xz tm-scripts-51c537f1b3c24a39d0c5f3ee1d37e195825c8cdc.zip |
[system.inc] Path variable LIB64 now generalized usable (dep. on $SYS_DISTRIBUTION)
Diffstat (limited to 'helper')
-rw-r--r-- | helper/system.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helper/system.inc b/helper/system.inc index 7a9f8954..1d2bdf06 100644 --- a/helper/system.inc +++ b/helper/system.inc @@ -21,7 +21,12 @@ export MAKEFLAGS="-j$CPU_CORES" # Determine if we have lib64 if [ "$(uname -m)x" = "x86_64x" ]; then - LIB64="lib64" + # Setting LIB64, as openSuse differentiates but Ubuntu does not: + case $SYS_DISTRIBUTION in + ubuntu | debian) LIB64="lib" ;; + opensuse) LIB64="lib64" ;; + *) pwarning "Cannot set LIB64, SYS_DISTRIBUTION: $SYS_DISTRIBUTION unknown / not set!" ;; + esac AMD64_I386=amd64 X86_64_I586=x86_64 AMD64_X86=amd64 |