mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-12 09:26:06 +01:00
Excludes must go before directory in tar command.
Lovely that the behaviour changed in some random tar version between Fedora 24 and Fedora 25...
This commit is contained in:
parent
230e8222f8
commit
43c2fad0e9
5
dist/maketarball.sh.in
vendored
5
dist/maketarball.sh.in
vendored
@ -9,14 +9,15 @@ rootnoslash=`echo $root | sed "s/^\///"`
|
||||
|
||||
echo "Creating $name-$version.tar.xz..."
|
||||
|
||||
tar -cJf $name-$version.tar.xz "$root" \
|
||||
tar -cJf $name-$version.tar.xz \
|
||||
--transform "s,^$rootnoslash,$name-$version," \
|
||||
--exclude-vcs \
|
||||
--exclude "$root/bin/*" \
|
||||
--exclude "$root/debian" \
|
||||
--exclude "$root/dist/*.tar.gz" \
|
||||
--exclude "$root/dist/*.tar.xz" \
|
||||
--exclude "$root/CMakeLists.txt.user"
|
||||
--exclude "$root/CMakeLists.txt.user" \
|
||||
"$root"
|
||||
|
||||
echo "Also creating ${name}_${version}~${deb_dist}.orig.tar.xz..."
|
||||
cp "$name-$version.tar.xz" "${name}_${version}~${deb_dist}.orig.tar.xz"
|
||||
|
Loading…
Reference in New Issue
Block a user