summaryrefslogtreecommitdiffstats
path: root/easy_e17.sh
diff options
context:
space:
mode:
Diffstat (limited to 'easy_e17.sh')
-rwxr-xr-xeasy_e17.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/easy_e17.sh b/easy_e17.sh
index adab900..2a8b4c3 100755
--- a/easy_e17.sh
+++ b/easy_e17.sh
@@ -1221,9 +1221,7 @@ if [ "$asuser" ] && [ $nice_level -lt 0 ]; then
nice_level=0
fi
# Fix issues with a slash at the end
-if [ ! "${src_path:$((${#src_path}-1)):1}" == "/" ]; then
- src_path="$src_path/"
-fi
+src_path=$(readlink -f $src_path)
# quit if some basic option is missing
if [ -z "$action" ] || [ -z "$install_path" ] || [ -z "$src_path" ]; then
wrong