summarylogtreecommitdiffstats
path: root/executable
diff options
context:
space:
mode:
authorDominic Zimmer2017-06-22 12:43:05 +0000
committerDominic Zimmer2017-06-22 12:43:42 +0000
commit7706e6708f8c30205e0824357ce92f1ac69b860d (patch)
treeb45c58b1e512ff125be4cd2bb340fe6d52ee8a71 /executable
parent5fe48cb1251abe759b9da84cbaf6806a8d4d4b9e (diff)
downloadaur-7706e6708f8c30205e0824357ce92f1ac69b860d.tar.gz
added shebang compatability
Diffstat (limited to 'executable')
-rwxr-xr-xexecutable3
1 files changed, 2 insertions, 1 deletions
diff --git a/executable b/executable
index 92295695e42a..87f9d498f494 100755
--- a/executable
+++ b/executable
@@ -26,7 +26,8 @@ else
else
if [[ -e $1 ]]
then
- pseucoco -i $1
+ cat $1 | sed '/^#!/d' > /tmp/pseucotmp
+ pseucoco -i /tmp/pseucotmp
else
echo "Error: File \"$1\" not found."
fi