diff options
author | Daniel Peukert | 2020-01-18 12:19:07 +0100 |
---|---|---|
committer | Daniel Peukert | 2020-01-18 12:19:07 +0100 |
commit | e26c226ddc11e362ebd2ef4181ea16b95354bdda (patch) | |
tree | 541e6a30dfcfb7f57b86a3955fb9dbaa0de746ef | |
parent | a45866aeba74940a03bb98d507068cb485c36b3f (diff) | |
download | aur-e26c226ddc11e362ebd2ef4181ea16b95354bdda.tar.gz |
Add trailing slashes
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ sha256sums=('db4ee7d43b049fe8ffbd99225e9be7c9d66258bb7d30636c3361de1f2a08e0e0' _sourcedirectory="${pkgname^}-$pkgver" prepare() { - cd "$srcdir/$_sourcedirectory" + cd "$srcdir/$_sourcedirectory/" find . -type f -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2.7|g' {} \; find . -type f -exec sed -i 's|#!/usr/bin/python2.7|#!/usr/bin/env python2.7|g' {} \; rm -rf 'shared-data/'{mailpile-gui/,multipile/} @@ -41,7 +41,7 @@ prepare() { } package() { - cd "$srcdir/$_sourcedirectory" + cd "$srcdir/$_sourcedirectory/" # The folder structure breaks when we build and install separately for some reason python2 setup.py install --root="$pkgdir/" |