Permalink
Browse files

Use uname -s and uname -m.

  • Loading branch information...
1 parent b100529 commit 313bda89a98da03782ab58b7215fa30ea18d5c75 @wayneeseguin wayneeseguin committed May 4, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 bin/sm-installer
View
@@ -1,11 +1,9 @@
#!/usr/bin/env sh
-platform=` uname -i 2>/dev/null || uname -s `
-platform=`uname -s`
-uname -m
+platform="`uname -s`/`uname -m`"
case $platform in
- (Darwin|i386|x86_64)
+ (Darwin/i386|Darwin/x86_64|Linux/i386|Linux/x86_64)
true
;;
(*)

0 comments on commit 313bda8

Please sign in to comment.