diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-25 16:44:02 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-26 17:18:11 -0400 |
commit | 86c2e698495c88b483da621c99b31fbf4a59a11b (patch) | |
tree | c62b94eda24c3db1046cd9367793e111c3b2fed1 | |
parent | 385bcfb56e1b4a358ede978c4fc9f5133b3041a9 (diff) |
librefetch: clean src-libre before running
-rwxr-xr-x | src/librefetch/librefetch | 4 |
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$|:| |