Skip to content

Commit

Permalink
fetch-configlet uses slightly more portable syntax.
Browse files Browse the repository at this point in the history
- fixes exercism/x-api#59
  • Loading branch information
jtigger committed Jun 19, 2015
1 parent a4665c5 commit a5c9900
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bin/fetch-configlet
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ LATEST=https://github.com/exercism/configlet/releases/latest

OS=$(
case $(uname) in
Darwin*)
(Darwin*)
echo "mac";;
Linux*)
(Linux*)
echo "linux";;
Windows*)
(Windows*)
echo "windows";;
*)
(*)
echo "linux";;
esac)
ARCH=$(
case $(uname -m) in
*64*)
(*64*)
echo 64bit;;
*686*)
(*686*)
echo 32bit;;
*386*)
(*386*)
echo 32bit;;
*)
(*)
echo 64bit;;
esac)
Expand Down

0 comments on commit a5c9900

Please sign in to comment.