aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fbb39b4..910689b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,11 @@
-ARCH ?= $(shell uname -m | sed -e 's/^x86_64$$/amd64/' -e 's/^i686$$/i386/')
+ARCH ?= $(shell uname -m)
+ifeq (${ARCH}, x86_64)
+ARCH = amd64
+endif
+ifeq (${ARCH}, i686)
+ARCH = i386
+endif
+
VERSION = 7.3.0
ISOIMG = debian-${VERSION}-${ARCH}-netinst.iso