summaryrefslogtreecommitdiffstats
path: root/helper
diff options
context:
space:
mode:
authorChristian Rößler2013-08-21 15:35:50 +0200
committerChristian Rößler2013-08-21 15:35:50 +0200
commit3a0da91477cfafdbeb2286874eb78a782cebfcc8 (patch)
tree845c498a7495886ce422e158426f33aa52ca15f0 /helper
parent[sshd] don't touch /var/run! (diff)
downloadtm-scripts-3a0da91477cfafdbeb2286874eb78a782cebfcc8.tar.gz
tm-scripts-3a0da91477cfafdbeb2286874eb78a782cebfcc8.tar.xz
tm-scripts-3a0da91477cfafdbeb2286874eb78a782cebfcc8.zip
[system.inc] Two new variables for system description / information:
AMD64_I386 (can contain amd64 or i386), X86_64_I586 (x86_64 or i586). These will be serving download url construction, mostly.
Diffstat (limited to 'helper')
-rw-r--r--helper/system.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/helper/system.inc b/helper/system.inc
index 0796c974..5697de2a 100644
--- a/helper/system.inc
+++ b/helper/system.inc
@@ -22,7 +22,11 @@ export MAKEFLAGS="-j$CPU_CORES"
# Determine if we have lib64
if [ "$(uname -m)x" = "x86_64x" ]; then
LIB64="lib64"
+ AMD64_I386=amd64
+ X86_64_I586=x86_64
else
LIB64="lib"
+ AMD64_I386=i386
+ X86_64_I586=i586
fi