diff options
Diffstat (limited to 'scripts/DYNAMIC_INSTALL.sh')
| -rw-r--r-- | scripts/DYNAMIC_INSTALL.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/DYNAMIC_INSTALL.sh b/scripts/DYNAMIC_INSTALL.sh index 77660d4b..a9fbc2c4 100644 --- a/scripts/DYNAMIC_INSTALL.sh +++ b/scripts/DYNAMIC_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 |
