Skip to content

Commit 4ea4ff3

Browse files
authored
Make it actually non-bash dependent
changed the way script_dir is found to not call on bash
1 parent 33ac018 commit 4ea4ff3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/APPIMAGE_INSTALL.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
# Move to script's directory
7-
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
7+
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
88
cd "${SCRIPT_DIR}"
99

1010
#add .desktop file (which should allow most DE's easy access to the program

0 commit comments

Comments
 (0)