diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-12-23 18:57:44 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2017-01-15 14:24:45 +0000 |
commit | 6e1b6791c589171f41177c2edf4e081c5912c43d (patch) | |
tree | a851047a47cd0a4150a86e58f8bb5dd805020ba1 | |
parent | bce5673f31e8050bf7a641b2f115da001f89f68a (diff) | |
download | librebootfr-6e1b6791c589171f41177c2edf4e081c5912c43d.tar.gz librebootfr-6e1b6791c589171f41177c2edf4e081c5912c43d.zip |
libs: common: Always override tarfiles
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-x | libs/common | 6 |
1 files changed, 1 insertions, 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" ] |