summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3844c3c9213..d725af1bc3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,9 +19,7 @@ build() {
package() {
cd gdal-$pkgver/swig/python
python2 setup.py install --root="$pkgdir" --optimize=1
-
- cd "$pkgdir/usr/bin/"
- for bin in *.py; do mv $bin ${bin%.py}2.py; done
+ for bin in "$pkgdir/usr/bin/"*.py; do mv "$bin" "${bin%.py}2.py"; done
install -dm755 "$pkgdir/usr/share/licenses"
ln -s gdal "$pkgdir/usr/share/licenses/$pkgname"