From 6039370ad63f2248498765fc0c2f2fae94611776 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 18 Sep 2018 00:45:07 +0200 Subject: [PATCH] Fix exclude --- dist/scripts/maketarball.sh.in | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/dist/scripts/maketarball.sh.in b/dist/scripts/maketarball.sh.in index 388b5ae97..a09b17e33 100755 --- a/dist/scripts/maketarball.sh.in +++ b/dist/scripts/maketarball.sh.in @@ -16,12 +16,14 @@ echo "Creating $name-$version.tar.xz..." rm -f "$name-$version.tar.xz" tar -cJf $name-$version.tar.xz \ --transform "s,^$rootnoslash,$name-$version," $exclude_vcs \ - --exclude "*.tar" \ - --exclude "*.tar.*" \ - --exclude "*.bz" \ - --exclude "*.bz2" \ - --exclude "*.xz" \ - --exclude ".directory" \ - --exclude "$root/CMakeLists.txt.user" \ - --exclude "$root/build" \ + --exclude="*.tar" \ + --exclude="*.tar.*" \ + --exclude="*.bz" \ + --exclude="*.bz2" \ + --exclude="*.xz" \ + --exclude=".directory" \ + --exclude="*.spec" \ + --exclude="*.nsi" \ + --exclude="$root/CMakeLists.txt.user" \ + --exclude="$root/build" \ "$root"