Commit dfe112bc by Michael Werner Committed by Stéphane Graber

templates: switch from arch command to uname -m

parent 1c43a3be
......@@ -677,7 +677,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
arch=$(arch)
arch=$(uname -m)
eval set -- "$options"
while true
do
......
......@@ -1153,7 +1153,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
arch=$(arch)
arch=$(uname -m)
eval set -- "$options"
while true
do
......
......@@ -79,7 +79,7 @@ die()
set_default_arch()
{
printf "### set_default_arch: default arch/variant autodetect...\n"
arch=$(arch)
arch=$(uname -m)
if [[ $arch =~ i.86 ]]; then
arch="x86"
variant="x86"
......
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