diff options
author | Dominic Zimmer | 2017-06-22 12:43:05 +0000 |
---|---|---|
committer | Dominic Zimmer | 2017-06-22 12:43:05 +0000 |
commit | e22104291752941fae0f686c6fc48f5f836eedc5 (patch) | |
tree | e423ac54968618774ff1a32cfef688a561f44508 | |
parent | 5fe48cb1251abe759b9da84cbaf6806a8d4d4b9e (diff) | |
download | aur-e22104291752941fae0f686c6fc48f5f836eedc5.tar.gz |
added shebang compatability
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | executable | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -2,7 +2,7 @@ _pkgname=pseucoco pkgname="${_pkgname}" pkgver=2.3 -pkgrel=2 +pkgrel=3 pkgdesc="A Pseuco compiler written in Java" arch=("i686" "x86_64") url="https://liebe.cs.uni-saarland.de/gitlab/pseuco/pseuco-java-compiler" 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 |