summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-09 00:19:05 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-09 00:19:05 -0600
commitb9f66ea01e048acd460f238212b4c38d6f704b5c (patch)
tree101ef6b042d11ccfa58d50421b65965f48f027ea /src/librefetch
parentc2cc86d9768370ce679e400478884a15af446baa (diff)
librefetch: inhibit symlink creation, rather than removing it afterward
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index ab4f21a..0bc5400 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -138,7 +138,6 @@ main() {
export pkg_file=$dst
cd "$BUILDDIR"
"$makepkg" "${makepkg_opts[@]}" -p "$srcbuild" >> /dev/stderr || return 1
- rm -- "${pkg_file##*/}"
fi
}
@@ -191,6 +190,7 @@ makepkg_modify='
/pkg_file=/d # allow us to set pkg_file
s/"?\$\{comp_files\[@\]\}"?// # do not include .{PKGINFO,INSTALL,CHANGELOG}
s/bsdtar /&--format=ustar / # ustar, not pax
+ s/create_signature .*/&; return $?/ # do not procede to create symlinks
}
/tidy_install\(\) \{/,/^\}$/ {