Skip to content

Commit

Permalink
fix system path issue in cygwin for zipjs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhsu committed Jan 27, 2015
1 parent e9d4c5e commit 717d969
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/zipjs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ function zips
srcfile=$dst/${f%.js}.src.js
fi
fi
java -classpath $bshjar bsh.Interpreter $bshcmd "./$f" "$srcfile"
#unix:
#java -classpath $bshjar bsh.Interpreter "$bshcmd "./$f" "$srcfile"
#cygwin:
java -classpath $bshjar bsh.Interpreter "C:$bshcmd" "./$f" "$srcfile"
#always make a copy so we can use them if we want to debug them
fi
fi
Expand Down

0 comments on commit 717d969

Please sign in to comment.