Permalink
Browse files

gsr sh script fix

  • Loading branch information...
1 parent a9d2653 commit b4787531399796d7930d313761aad58cff611467 @cadorn cadorn committed Sep 29, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 pinf-loader.sh
View
@@ -21,4 +21,8 @@ if [ -z $PLATFORM_BIN_PATH ]; then
exit 1;
fi
-exec "$PLATFORM_BIN_PATH" "$BASE_PATH/pinf-loader.js" "$@"
+if [ "$PLATFORM_BIN_NAME" = "gsr" ]; then
+ exec "$PLATFORM_BIN_PATH" -f "$BASE_PATH/pinf-loader.js" -- "$@"
+else
+ exec "$PLATFORM_BIN_PATH" "$BASE_PATH/pinf-loader.js" "$@"
+fi

0 comments on commit b478753

Please sign in to comment.