From 61260304cac973e6808128f54c61ac6ec95d0a81 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 11 Apr 2018 14:23:02 +0200 Subject: lib/common-functions: make_source_info: rm $output on failure --- lib/common-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common-functions b/lib/common-functions index 0e4abff..a479f5f 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -528,7 +528,8 @@ make_source_info() { makepkg --printsrcinfo cd .. } > \ - "${output}" + "${output}" || \ + rm -f "${output}" ) -- cgit v1.2.3-70-g09d2