aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2015-02-01 22:27:06 +0100
committerUlrich Sibiller <uli42@gmx.de>2015-02-01 22:27:06 +0100
commitf8fa7cb1993e56f47f2f919c2dcbef86e960e6a2 (patch)
tree9b54a0ee322ac03cfa1506e26b2403a97e1049fe
parentdc74950637df681ee9b91af9a671876b8d859c7c (diff)
downloadnx-libs-f8fa7cb1993e56f47f2f919c2dcbef86e960e6a2.tar.gz
nx-libs-f8fa7cb1993e56f47f2f919c2dcbef86e960e6a2.tar.bz2
nx-libs-f8fa7cb1993e56f47f2f919c2dcbef86e960e6a2.zip
Fix patch rollout in tarball
-rwxr-xr-xdebian/roll-tarballs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 9b63529f7..b8db6c618 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -82,9 +82,9 @@ mkdir -p doc/applied-patches
# prepare patches for lite and full tarball
if [ "x$MODE" = "xfull" ]; then
- find debian/patches | sort | egrep "(debian/patches/[0-9]+_.*\.(full|full\+lite)\.patch)" | while read file
+ cat debian/patches/series | sort | grep -v ^# | egrep "([0-9]+_.*\.(full|full\+lite)\.patch)" | while read file
do
- cp -v $file doc/applied-patches
+ cp -v debian/patches/$file doc/applied-patches
echo ${file##*/} >> doc/applied-patches/series
done
mkdir -p ./etc/
@@ -96,9 +96,9 @@ else
rm -Rf "nxcompshad"*
rm -Rf "nxcompext"*
rm -Rf "nx-X11"*
- find debian/patches | sort | egrep "(debian/patches/[0-9]+_.*\.full\+lite\.patch)" | while read file
+ cat debian/patches/series | sort | grep -v ^# | egrep "([0-9]+_.*\.full\+lite\.patch)" | while read file
do
- cp -v $file doc/applied-patches
+ cp -v debian/patches/$file doc/applied-patches
echo ${file##*/} >> doc/applied-patches/series
done
fi