summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-25 16:44:02 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-26 17:18:11 -0400
commit86c2e698495c88b483da621c99b31fbf4a59a11b (patch)
treec62b94eda24c3db1046cd9367793e111c3b2fed1 /src/librefetch
parent385bcfb56e1b4a358ede978c4fc9f5133b3041a9 (diff)
librefetch: clean src-libre before running
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 52aea9a..62cfb42 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -225,6 +225,10 @@ makepkg_modify='
/^\}$/ifind . -exec touch --date="1990-01-01 0:0:0 +0" {} +
}
+/download_sources\(\) \{/ {
+ arm -rf "$srcdir"
+}
+
s|srcdir=.*|&-libre|
s|pkgdirbase=.*|&-libre|
s|check_build_status$|:|