diff --git a/DEVELOPERS b/DEVELOPERS index 0e097f1931..b4c063ddd6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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 diff --git a/Makefile b/Makefile index 9bd827ef67..33d547f0bf 100644 --- a/Makefile +++ b/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 diff --git a/r2-bindings/Makefile b/r2-bindings/Makefile index fbf6b95455..d135493bba 100644 --- a/r2-bindings/Makefile +++ b/r2-bindings/Makefile @@ -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