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