From 6e1b6791c589171f41177c2edf4e081c5912c43d Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Fri, 23 Dec 2016 18:57:44 +0100 Subject: libs: common: Always override tarfiles Signed-off-by: Paul Kocialkowski --- libs/common | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/common b/libs/common index 70800d40..a64a7b9b 100755 --- a/libs/common +++ b/libs/common @@ -174,17 +174,13 @@ archive_files_create() { then git_files "$source_path" | tr -d '\0' > "$tarfiles_path" echo "$DOTTARFILES" | tr -d '\0' >> "$tarfiles_path" - elif ! [ -f "$tarfiles_path" ] - then + else touch "$tarfiles_path" ( cd "$source_path" find ) | LC_ALL=C sort | sed "s,^./,," | grep -vP "^\.$" > "$tarfiles_path" - else - # Preserve tarfiles if not in git. - return 0 fi if [ -f "$revision_path" ] -- cgit v1.2.3-70-g09d2