diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-09-14 20:47:03 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-09-14 20:47:03 +0000 |
| commit | 635a3f0c8ad8ca3bd62f3a227801cddcf77c4da6 (patch) | |
| tree | d26fd56abb4f26b57d69b1da3ef8590b5d66c4c5 /packaging | |
| parent | fix flawed test for cpu capability (r13600) (diff) | |
| download | inkscape-635a3f0c8ad8ca3bd62f3a227801cddcf77c4da6.tar.gz inkscape-635a3f0c8ad8ca3bd62f3a227801cddcf77c4da6.zip | |
simplify test (note to self: always consult the man page before pushing a commit ... )
(bzr r13506.1.96)
Diffstat (limited to 'packaging')
| -rwxr-xr-x | packaging/macosx/osx-app.sh | 2 | ||||
| -rwxr-xr-x | packaging/macosx/osx-build.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh index 9a3478e67..520f2f0f4 100755 --- a/packaging/macosx/osx-app.sh +++ b/packaging/macosx/osx-app.sh @@ -282,7 +282,7 @@ ARCH="$(uname -a | awk '{print $NF;}')" # guess default build_arch (MacPorts) if [ "$OSXMINORNO" -ge "6" ]; then - if [ "$(sysctl hw.cpu64bit_capable 2>/dev/null | awk '{print $NF;}')" = "1" ]; then + if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then _build_arch="x86_64" else _build_arch="i386" diff --git a/packaging/macosx/osx-build.sh b/packaging/macosx/osx-build.sh index ececf11cb..5db991f1f 100755 --- a/packaging/macosx/osx-build.sh +++ b/packaging/macosx/osx-build.sh @@ -174,7 +174,7 @@ ARCH="$(uname -a | awk '{print $NF;}')" # guess default build_arch (MacPorts) if [ "$OSXMINORNO" -ge "6" ]; then - if [ "$(sysctl hw.cpu64bit_capable 2>/dev/null | awk '{print $NF;}')" = "1" ]; then + if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then _build_arch="x86_64" else _build_arch="i386" |
