summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-13 12:37:36 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-13 12:37:36 -0400
commit95bb43ca5e4a07909e6e91e6f8234e738f4564ff (patch)
tree2900b48196a5b2c9ca010d5f915e9a13170d652f /src/librefetch
parente88534b631c3df7d25efbcc4fe9e4910b2a276eb (diff)
librefetch: find source files distributed with the PKGBUILD
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 25bde43..d0e8c0b 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -133,7 +133,9 @@ main() {
export PKGEXT=${PKGEXT%.part}
export PKGDEST=$startdir
export pkg_file=$dst
+ cd "$BUILDDIR"
"$makepkg" "${makepkg_opts[@]}" -p "$srcbuild" >> /dev/stderr
+ rm -- "${pkg_file##*/}"
fi
}