Browse files

make make-software-release work on cygwin

  • Loading branch information...
1 parent 2ce256f commit 75283e0c385759cf788affe717ad4efa0437482d @ytai committed Feb 23, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 tools/make-software-release
View
7 tools/make-software-release
@@ -1,4 +1,9 @@
#!/bin/bash
+if [ $(uname -o) = Cygwin ]; then
+ ANDROID='cmd /C android'
+else
+ ANDROID=android
+fi
ZIP=zip
TMPOUT=$(mktemp -ut ioio.XXXXXX.zip)
@@ -29,7 +34,7 @@ cd software
i=0
for PROJECT in $PROJECTS; do
- (cd $PROJECT && android -s update project --name $(basename $PROJECT) --path . --target "${TARGETS[i]}")
+ (cd $PROJECT && $ANDROID -s update project --name $(basename $PROJECT) --path . --target "${TARGETS[i]}")
let "i++"
done

0 comments on commit 75283e0

Please sign in to comment.