Browse Source

Fixup the `install.sh` script to work regardless of the `pwd`

OvermindDL1 2 years ago
parent
commit
148f414b46
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      .meta/install.sh

+ 3
- 1
.meta/install.sh View File

@@ -1,3 +1,5 @@
1 1
 #!/bin/bash
2
-cd ..
2
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
3
+cd "$SCRIPT_DIR/.."
3 4
 ./gradlew --refresh-dependencies setupDecompWorkspace build eclipse
5
+

Loading…
Cancel
Save