mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Destroyed _Footer (markdown)
@@ -1,6 +0,0 @@
|
||||
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