Skip to content

Commit

Permalink
It is safer to remove faulty files from archive rather then changing the
Browse files Browse the repository at this point in the history
extraction mechanisms because these files are also then creating issues
at the build stage.
  • Loading branch information
laeti-tia committed Nov 4, 2023
1 parent 8664357 commit 27e0eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unibuild-package/unibuild-package/unibuild-deb.make
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $(BUILD_UNPACK_DIR): $(PRODUCTS_DIR) $(BUILD_ORIG_DIR)
mkdir -p '$@/$(SOURCE_DIR)'
ifneq ($(SOURCE_TARBALL),)
@printf "\nUnpacking tarball $(SOURCE_TARBALL).\n\n"
(cd '$@/$(SOURCE_DIR)' && tar xzfP - --strip-components=1) < '$(SOURCE_TARBALL)'
(cd '$@/$(SOURCE_DIR)' && tar xzf - --strip-components=1) < '$(SOURCE_TARBALL)'
mv '$@/$(SOURCE_DIR)' '$@/$(TAR_UNPACK_DIR)'
ls -a '$@/$(TAR_UNPACK_DIR)' \
| egrep -vxe '[.]{1,2}' \
Expand Down

0 comments on commit 27e0eb7

Please sign in to comment.