Commit 29f5e0cc authored by Claes Sjöfors's avatar Claes Sjöfors

Ubuntu LTS build

parent 33d3cf5c
...@@ -281,18 +281,16 @@ if [ ${machine:0:3} == "arm" ]; then ...@@ -281,18 +281,16 @@ if [ ${machine:0:3} == "arm" ]; then
else else
ubuntu_ver=`cat /etc/issue | grep Ubuntu | awk '{ print $2 }'` ubuntu_ver=`cat /etc/issue | grep Ubuntu | awk '{ print $2 }'`
debian_ver=`cat /etc/issue | grep Debian | awk '{ print $3 }'` debian_ver=`cat /etc/issue | grep Debian | awk '{ print $3 }'`
echo "Ver: " $hwpl $debian_ver
if [ "$ubuntu_ver" == "" ]; then if [ "$ubuntu_ver" == "" ]; then
ubuntu_ver=`cat /etc/issue | grep Mint | awk '{ print $3 }'` ubuntu_ver=`cat /etc/issue | grep Mint | awk '{ print $3 }'`
fi fi
if [ "$ubuntu_ver" != "" ] &&[ "$ubuntu_ver" != "12.04" ] && [ $hwpl == "i686" ] ; then if [ "$ubuntu_ver" != "" ] && [ $hwpl == "i686" ] ; then
hwpl=i386 hwpl=i386
fi fi
if [ "$debian_ver" != "" ] &&[ "$debian_ver" != "6" ] && [ $hwpl == "i686" ] ; then if [ "$debian_ver" != "" ] && [ "$debian_ver" != "6" ] && [ $hwpl == "i686" ] ; then
hwpl=i386 hwpl=i386
fi fi
fi fi
echo "hwpl $hwpl $gnu"
# Bash # Bash
if [ "$SHELL" != "/bin/bash" ] && [ "$SHELL" != "/usr/local/bin/bash" ]; then if [ "$SHELL" != "/bin/bash" ] && [ "$SHELL" != "/usr/local/bin/bash" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment