From df9d4245a2b42bd031c47b25a48f3f67e1fc651d Mon Sep 17 00:00:00 2001
From: "Rafael G. Martins" <rafael@rafaelmartins.eng.br>
Date: Sat, 2 Jun 2018 14:46:54 +0200
Subject: build: fix static-all tar file

---
 build-aux/build-static-all.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'build-aux')

diff --git a/build-aux/build-static-all.sh b/build-aux/build-static-all.sh
index dd7c243..434ef22 100755
--- a/build-aux/build-static-all.sh
+++ b/build-aux/build-static-all.sh
@@ -9,5 +9,5 @@ ${MAKE_CMD:-make} DESTDIR="${PWD}/root/${DESTDIR}" install
 install -m 644 ../LICENSE "root/${DESTDIR}/LICENSE"
 
 pushd root > /dev/null
-tar -cvJf "../${DESTDIR}.tar.xz" .
+tar -cvJf "../${DESTDIR}.tar.xz" "${DESTDIR}"
 popd > /dev/null
-- 
cgit v1.2.3-18-g5258