X-Git-Url: https://git.distorted.org.uk/~mdw/sw-tools/blobdiff_plain/9796a7877cd1e7f6908c678e71b8fea6045ba0e7..HEAD:/sw.in diff --git a/sw.in b/sw.in index 36a2e37..c56b7cd 100755 --- a/sw.in +++ b/sw.in @@ -38,7 +38,7 @@ # --- Step one: find out about the CPU architecture --- -CPU=`uname -p`; CPU=`echo $CPU | tr A-Z a-z` +CPU=`uname -p 2>/dev/null || echo unknown`; CPU=`echo $CPU | tr A-Z a-z` case $CPU in unknown) CPU=`uname -m` ;; esac