summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex W2019-10-07 01:59:02 +0100
committerAlex W2019-10-07 01:59:02 +0100
commit698235d6d657aaf04056c3fad9ab21ab3a380b00 (patch)
tree14f9ffae2347d60402e67a4dff0ad200cb76430c
parent3bee4ad2dc23806498c616ecc507b995e2b1a847 (diff)
downloadaur-698235d6d657aaf04056c3fad9ab21ab3a380b00.tar.gz
mkdir in install instead
-rw-r--r--PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5d9f466afd5..5bf956306e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,8 +28,7 @@ build() {
package() {
cd "$_gitname"
- mkdir -p "$pkgdir/usr/bin"
- install -p -m755 "$srcdir/$_gitname/$_gitname" "$pkgdir/usr/bin"
+ install -Dm755 "$srcdir/$_gitname/$_gitname" "$pkgdir/usr/bin/$_gitname"
# Package license (if available)
for f in LICENSE COPYING LICENSE.* COPYING.*; do