Guest User

Stack Overflow messages.

a guest
May 4th, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. $ shellcheck test-rsync.sh
  2.  
  3. In test-rsync.sh line 1:
  4. SOURCE="/local\ folder/path/"
  5. ^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang.
  6. ^------------------^ SC2089: Quotes/backslashes will be treated literally. Use an array.
  7.  
  8.  
  9. In test-rsync.sh line 3:
  10. rsync -arv --filter=":- .gitignore" $SOURCE $DESTINATION
  11. ^-----^ SC2090: Quotes/backslashes in this variable will not be respected.
  12. ^-----^ SC2086: Double quote to prevent globbing and word splitting.
  13.  
  14. For more information:
  15. https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y...
  16. https://www.shellcheck.net/wiki/SC2089 -- Quotes/backslashes will be treate...
  17. https://www.shellcheck.net/wiki/SC2090 -- Quotes/backslashes in this variab...
Advertisement
Add Comment
Please, Sign In to add comment