Skip to content

Commit

Permalink
Fix release scripting bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbjornx committed Mar 3, 2019
1 parent 11e0337 commit ddece2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/makesh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OUTFLPATH="$3"
MAINCLASS="$2"
TEMPLATE="""
#!/bin/bash
\nJARPATH=\"\`which \"\$0\"\`\"\nMAINCLASS=$MAINCLASS\n\nexec java -cp \"\$JARPATH\" \$MAINCLASS $@\n
\nJARPATH=\"\`which \"\$0\"\`\"\nMAINCLASS=$MAINCLASS\n\nexec java -cp \"\$JARPATH\" \$MAINCLASS \"\$@\"\n
"""
echo -e $TEMPLATE > "$OUTFLPATH"
cat "$INJARPATH" >> "$OUTFLPATH"
Expand Down
2 changes: 1 addition & 1 deletion scripts/mkrelease
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RELEASEDIR="out/meimagetool-$1"
mkdir -p "$RELEASEDIR"
scripts/makesh out/meimagetool.jar nl.peterbjornx.intelme.entry.RegionTool "$RELEASEDIR/meregiontool"
scripts/makesh out/meimagetool.jar nl.peterbjornx.intelme.entry.MFSTool "$RELEASEDIR/mfstool"
scripts/makesh out/meimagetool.jar nl.peterbjornx.intelme.entry.RegionTool "$RELEASEDIR/meconfigtool"
scripts/makesh out/meimagetool.jar nl.peterbjornx.intelme.entry.ConfigTool "$RELEASEDIR/meconfigtool"
cp LICENSE readme.md "$RELEASEDIR/"
cd out
tar czf "meimagetool-$1.tar.gz" "meimagetool-$1"
Expand Down

0 comments on commit ddece2a

Please sign in to comment.