Shell variables in standalone app of bash script

Make sure that

  • the shell script within Borg.app is executable (chmod +x ...)
  • all the files within Borg.app are accessible by the current user
  • any command called from the script is called with the full path specified (especially for things stored in /usr/local/bin and similar non-default places)