Skip to content

Commit

Permalink
[HEADLESS] Fix workspace incremental value for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
RoiArthurB committed Aug 8, 2023
1 parent a004b64 commit 1f0436e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion travis/jdk/macosx/gama-headless.sh
Expand Up @@ -49,7 +49,7 @@ if [ $workspaceCreate -eq 0 ]; then
# w/o output folder
else
# create workspace in current folder
passWork=.workspace$(find ./ -maxdepth 1 -name ".workspace*" | wc -l)
passWork=.workspace$(find ./ -maxdepth 1 -name ".workspace*" | expr $(wc -l))
fi

if ! "$( dirname "${BASH_SOURCE[0]}" )"/../jdk/Contents/Home/bin/java -cp "$( dirname "${BASH_SOURCE[0]}" )"/../Eclipse/plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname "${BASH_SOURCE[0]}" )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then
Expand Down
Expand Up @@ -57,7 +57,7 @@ if [ $workspaceCreate -eq 0 ]; then
# w/o output folder
else
# create workspace in current folder
passWork=.workspace$(find ./ -maxdepth 1 -name ".workspace*" | wc -l)
passWork=.workspace$(find ./ -maxdepth 1 -name ".workspace*" | expr $(wc -l))
fi

if ! java -cp "$( dirname "${BASH_SOURCE[0]}" )"/../Eclipse/plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname "${BASH_SOURCE[0]}" )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then
Expand Down

0 comments on commit 1f0436e

Please sign in to comment.