mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Created _Footer (markdown)
6
_Footer.md
Normal file
6
_Footer.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
if [ "${ftp_link} | rev | cut -c 1 | rev" != "/" ]; then #if "/" not present at the end of the variable
|
||||||
|
ftp_link=$ftp_link"/" #add "/" at the end of variable
|
||||||
|
fi
|
||||||
|
|
||||||
|
It says: "The arguments to this comparison can never be equal. Make sure your syntax is correct."
|
||||||
|
So, what should I do? It complains at "!=".
|
Reference in New Issue
Block a user