summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSamantha Baldwin2016-06-15 13:23:57 -0400
committerSamantha Baldwin2016-06-15 13:23:57 -0400
commit2c1e2ba248b3bf0d9223384412980634a7477915 (patch)
tree91e913a9492d2896537e4f85851e3460d9a4278b /PKGBUILD
parent93f2f15aaee0a24562ce9db4c24f5b16eb3d9ac9 (diff)
downloadaur-brutessh.tar.gz
fix executable to not cd
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e2b5aba2bd89..81d3a652e986 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname='brutessh'
pkgver='0.6'
-pkgrel=5
+pkgrel=6
pkgdesc="A simple multithreaded sshd password bruteforcer using a wordlist."
url='http://www.edge-security.com/edge-soft.php'
license=('GPL')
@@ -25,8 +25,7 @@ package() {
cat > "$pkgdir/usr/bin/$pkgname" << EOF
#!/bin/sh
-cd /usr/share/$pkgname
-exec python2 brutessh.py "\$@"
+python2 /usr/share/$pkgname/brutessh.py "\$@"
EOF
chmod +x "$pkgdir/usr/bin/$pkgname"