More make_deb.sh tweaks - architecture detection.
This commit is contained in:
parent
9e95de6fcf
commit
70682a5328
1 changed files with 5 additions and 7 deletions
12
make_deb.sh
12
make_deb.sh
|
@ -1,13 +1,11 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
MACHINE=$(uname -m)
|
||||
if [ "$MACHINE" = "x86_64" ]; then
|
||||
ARCHITECTURE=amd64
|
||||
elif [ "$MACHINE" = "i686" ]; then
|
||||
ARCHICTECTURE=i386
|
||||
elif [ "$MACHINE" = "i386" ]; then
|
||||
ARCHICTECTURE=i386
|
||||
fi
|
||||
case "$MACHINE" in
|
||||
x86_64) ARCHITECTURE=amd64;;
|
||||
i686) ARCHITECTURE=i386;;
|
||||
i386) ARCHITECTURE=i386;;
|
||||
esac
|
||||
|
||||
SANDBOX=`pwd`/.cabal-sandbox
|
||||
VERSION=$(grep -e '^Version' pandoc.cabal | awk '{print $2}')
|
||||
|
|
Loading…
Reference in a new issue