* Enforce the use of BSD tar

This commit is contained in:
pancake 2011-07-21 00:50:16 +02:00
parent a5bafc9257
commit 1503b4955c
3 changed files with 5 additions and 4 deletions

View File

@ -136,6 +136,7 @@ HOW TO RELEASE
--------------
- Set RELEASE=1 in global.mk and r2-bindings/config.mk.acr
- Use bsdtar from libarchive package. GNU tar is broken
== RADARE2
- bump revision

View File

@ -1,8 +1,8 @@
include config-user.mk
include global.mk
ifneq ($(shell tar --help 2>/dev/null|grep gnu.org),)
TAR=tar -czv --format=posix -f
ifneq ($(shell bsdtar -h 2>/dev/null|grep bsdtar),)
TAR=bsdtar czvf
else
TAR=tar -czvf
endif

View File

@ -1,6 +1,6 @@
-include config.mk
ifneq ($(shell tar --help 2>/dev/null|grep gnu.org),)
TAR=tar -czv --format=posix -f
ifneq ($(shell bsdtar -h 2>/dev/null|grep bsdtar),)
TAR=bsdtar czvf
else
TAR=tar -czvf
endif