Skip to content

Commit

Permalink
Some archives have symlinks that needs to be extracted with full path
Browse files Browse the repository at this point in the history
(pyrsistent).
  • Loading branch information
laeti-tia committed Nov 4, 2023
1 parent 1da6144 commit b5c2bda
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 xzf - --strip-components=1) < '$(SOURCE_TARBALL)'
(cd '$@/$(SOURCE_DIR)' && tar xzfP - --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 b5c2bda

Please sign in to comment.