diff options
author | Toon Nolten <toonn@toonn.io> | 2018-02-17 15:58:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 15:58:39 +0100 |
commit | af0ef6a233744121307fba3b11089f05e9369782 (patch) | |
tree | 3a5e089a1d7e36b6b367fad0f2ac3b67c3fb2549 /ranger | |
parent | 324e5af2e7ec0a825305dc6a03c95efa3682869a (diff) | |
parent | c0a0e90e405bac4dfc5819df429d567e8a51650d (diff) | |
download | ranger-af0ef6a233744121307fba3b11089f05e9369782.tar.gz |
Merge pull request #1078 from toonn/scopebash3
Make scope.sh backwards compatible with bash v3
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 35021129..540a910e 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -31,7 +31,7 @@ IMAGE_CACHE_PATH="${4}" # Full path that should be used to cache image preview PV_IMAGE_ENABLED="${5}" # 'True' if image previews are enabled, 'False' otherwise. FILE_EXTENSION="${FILE_PATH##*.}" -FILE_EXTENSION_LOWER="${FILE_EXTENSION,,}" +FILE_EXTENSION_LOWER=$(echo ${FILE_EXTENSION} | tr '[:upper:]' '[:lower:]') # Settings HIGHLIGHT_SIZE_MAX=262143 # 256KiB |