* Enforce the use of BSD tar
This commit is contained in:
parent
a5bafc9257
commit
1503b4955c
|
@ -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
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue