diff options
author | Frederik “Freso” S. Olesen | 2016-05-19 02:50:53 +0200 |
---|---|---|
committer | Frederik “Freso” S. Olesen | 2016-05-19 02:50:53 +0200 |
commit | f1f67c58c49715ffb62163cbacf63f04c46bbce8 (patch) | |
tree | 003ded2bca19fb8781336ce8fb447b838ea84d94 | |
parent | 413715cabc8d876c24e31035ab83117438745d09 (diff) | |
download | aur-f1f67c58c49715ffb62163cbacf63f04c46bbce8.tar.gz |
gdatafs: Replace `pushd`/`popd` with `cd`.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 8 insertions, 9 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu May 19 00:45:01 UTC 2016 +# Thu May 19 00:50:53 UTC 2016 pkgbase = gdatafs pkgdesc = FUSE implementation that mounts Picasa, YouTube, and Google Docs on your filesystem pkgver = 1.0.2 @@ -15,12 +15,11 @@ md5sums=('77e5207f1b2cfb72307087ebceb7b801' arch=('any') package() { - pushd "$srcdir"/gdatafs || return 1 - find . -type f | sed -e 's/\.\///g' | while read file; do - if [ $(echo "$file" | grep '.svn' -i -c) = 0 -a $(echo "$file" | grep '.project' -i -c) = 0 -a $(echo "$file" | grep '.classpath' -i -c) = 0 -a $(echo "$file" | grep 'src' -i -c) = 0 ]; then - install -D "$file" "$pkgdir"/opt/gdatafs/"$file" || return 1 - fi || return 1 - done || return 1 - install -Dm755 "$srcdir"/gdatafs.sh "$pkgdir"/usr/bin/gdatafs || return 1 - popd || return 1 + cd "$srcdir"/gdatafs + find . -type f | sed -e 's/\.\///g' | while read file; do + if [ $(echo "$file" | grep '.svn' -i -c) = 0 -a $(echo "$file" | grep '.project' -i -c) = 0 -a $(echo "$file" | grep '.classpath' -i -c) = 0 -a $(echo "$file" | grep 'src' -i -c) = 0 ]; then + install -D "$file" "$pkgdir"/opt/gdatafs/"$file" || return 1 + fi || return 1 + done || return 1 + install -Dm755 "$srcdir"/gdatafs.sh "$pkgdir"/usr/bin/gdatafs || return 1 } |