run.sh: don't silently ignore a non-executable file argument
authorBrian Norris <banorris@uci.edu>
Wed, 10 Jul 2013 01:44:19 +0000 (18:44 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 10 Jul 2013 01:46:19 +0000 (18:46 -0700)
If we use a file which exists but is not executable as an argument to
run.sh, run.sh will silently ignore it. This is wrong.

Instead, just check for existence of the file (or directory), and error
out with a "Permission denied" message later, when we try to run it.


No differences found