Unverified Commit f9dd22b5 authored by Mark Lindner's avatar Mark Lindner Committed by GitHub

Merge pull request #127 from ffauberteau/master

Fix portability problem due to == test
parents e1773281 95874403
......@@ -32,7 +32,7 @@ config_path() {
CHK="$(echo "$L" | sed -E 's/^([\ \t]+)//g')"
CHK="${CHK:0:5}"
NF="$NF$IFS$L"
if [ "$CHK" == "PATH=" ]; then
if [ "$CHK" = "PATH=" ]; then
NF="$NF$IFS#Configuration path for ls scripting"
NF="$NF$IFS"
NF="${NF}PATH=\"\$PATH:/usr/share/ls/lib\"$IFS"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment