1
0
mirror of https://github.com/koalaman/shellcheck.git synced 2025-03-12 12:35:25 -07:00

Created _Footer (markdown)

vitacell 2021-01-30 00:47:53 +01:00
parent 73251bd09c
commit d53ad87fd2

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 "!=".