From 153915dc2ff73312354eab20f90f7558759c44bd Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 4 Apr 2020 14:48:15 +0200 Subject: [PATCH] Improve portability of new `make dist` --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e11b5153..1348ad7f 100644 --- a/Makefile +++ b/Makefile @@ -251,7 +251,6 @@ wine-shim: # Target for the project maintainer to produce distributable release tarballs # of the source code. -RELEASE_ARCHIVE := rgbds-`git describe --tags --always 2>/dev/null`.tar.gz dist: - $Qgit ls-files -z | sed -z s~^~$${PWD##*/}/~ \ - | xargs -0 -- tar czf ${RELEASE_ARCHIVE} -C .. + $Qgit ls-files | sed s~^~$${PWD##*/}/~ \ + | tar -czf rgbds-`git describe --tags | cut -c 2-`.tar.gz -C .. -T -