Skip to content

Instantly share code, notes, and snippets.

@mneedham
Last active December 27, 2015 04:28
Show Gist options
  • Select an option

  • Save mneedham/7266623 to your computer and use it in GitHub Desktop.

Select an option

Save mneedham/7266623 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "i know spaces in the name are bad but the actual problem is the JRE 1.7 location on a Mac. JDK works fine"
$ if [ ! -x "foo \bar.sh" ]; then echo "cannot execute"; fi
cannot execute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment