summarylogtreecommitdiffstats
path: root/hmcl-launch-script
diff options
context:
space:
mode:
Diffstat (limited to 'hmcl-launch-script')
-rwxr-xr-xhmcl-launch-script6
1 files changed, 3 insertions, 3 deletions
diff --git a/hmcl-launch-script b/hmcl-launch-script
index 35ad0c0f05f3..4a923a4e8dd7 100755
--- a/hmcl-launch-script
+++ b/hmcl-launch-script
@@ -2,9 +2,9 @@
set -eu
if [ "${1:-}" != -p ]; then
- WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}/hmcl
- mkdir -p "$WORKDIR"
- cd "$WORKDIR"
+ WORKDIR=${XDG_CONFIG_HOME:-$HOME/.config}/hmcl
+ mkdir -p "$WORKDIR"
+ cd "$WORKDIR"
fi
JAVA_HOME=/usr/lib/jvm/$(pacman -Ql java-openjfx | grep javafx | head -n 1 | cut -d / -f 5)