diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/APPIMAGE_INSTALL.sh | 4 | ||||
| -rw-r--r-- | scripts/DYNAMIC_INSTALL.sh | 4 |
2 files changed, 4 insertions, 4 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 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 |
