mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-03-12 12:35:25 -07:00
Created _Footer (markdown)
parent
73251bd09c
commit
d53ad87fd2
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 "!=".
|
Loading…
x
Reference in New Issue
Block a user