Skip to content
  • Duncan Mortimer's avatar
    Quote strings with variables within · 4cb9b283
    Duncan Mortimer authored
    This prevents issues like variables being passed as 'something; rm -rf *'
    It also gives some robustness to spaces in file paths
    Also good practice to use -n for non-empty strings and -z for empty strings
    4cb9b283