Skip to content

Commit

Permalink
Fix .deb package (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
plata authored Jun 26, 2018
1 parent 24bf364 commit 0bcb78d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phoenicis-dist/src/scripts/phoenicis-cli
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
CLASSPATH=${CLASSPATH}:/usr/local/lib/phoenicis/*
CLASSPATH=/usr/local/lib/phoenicis/*:${CLASSPATH}

java -classpath "$CLASSPATH" org.phoenicis.cli.PhoenicisCLI "$@"
2 changes: 1 addition & 1 deletion phoenicis-dist/src/scripts/phoenicis-javafx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
CLASSPATH=${CLASSPATH}:/usr/local/lib/phoenicis/*
CLASSPATH=/usr/local/lib/phoenicis/*:${CLASSPATH}

java -classpath "$CLASSPATH" org.phoenicis.javafx.JavaFXApplication "$@"
4 changes: 3 additions & 1 deletion phoenicis-dist/src/scripts/phoenicis.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
POL_HOME=$(dirname $0)
POL_HOME="$(dirname "$0")"
cd "$POL_HOME"
POL_HOME="$PWD"
CLASSPATH=${CLASSPATH}:$POL_HOME/lib/*

java -classpath "$CLASSPATH" org.phoenicis.javafx.JavaFXApplication "$@"

0 comments on commit 0bcb78d

Please sign in to comment.