aboutsummaryrefslogtreecommitdiff
path: root/scripts/APPIMAGE_INSTALL.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/APPIMAGE_INSTALL.sh')
-rw-r--r--scripts/APPIMAGE_INSTALL.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/APPIMAGE_INSTALL.sh b/scripts/APPIMAGE_INSTALL.sh
index e8cafc89..8599cd5a 100644
--- a/scripts/APPIMAGE_INSTALL.sh
+++ b/scripts/APPIMAGE_INSTALL.sh
@@ -1,10 +1,10 @@
-#!/usr/bin/env
+#!/usr/bin/env sh
# exit on error
set -e
# Move to script's directory
-SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
+SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
cd "${SCRIPT_DIR}"
#add .desktop file (which should allow most DE's easy access to the program