diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-05-28 13:29:27 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-06-23 16:25:23 +0200 |
commit | 701471e8e464558a05ff99eeeeb7b886c1a7cefa (patch) | |
tree | f44ca344db1bcb409fe01a206a880b944e0f800a | |
parent | ce9ea5448007bd412485f457e89adc8eb44492b6 (diff) | |
download | nx-libs-701471e8e464558a05ff99eeeeb7b886c1a7cefa.tar.gz nx-libs-701471e8e464558a05ff99eeeeb7b886c1a7cefa.tar.bz2 nx-libs-701471e8e464558a05ff99eeeeb7b886c1a7cefa.zip |
debian/roll-tarball.sh: Allow patch files names having a dash next to the four digits (i.e., 1234-<patchname>.<suffix>).
-rwxr-xr-x | debian/roll-tarballs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh index 954986b5f..a060212f0 100755 --- a/debian/roll-tarballs.sh +++ b/debian/roll-tarballs.sh @@ -81,7 +81,7 @@ mkdir -p "doc/applied-patches" # prepare patches for lite and full tarball if [ "x$MODE" = "xfull" ]; then - cat "debian/patches/series" | sort | grep -v '^#' | egrep "([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 "debian/patches/$file" "doc/applied-patches/" echo "${file##*/}" >> "doc/applied-patches/series" @@ -90,7 +90,7 @@ else rm -Rf "nxcompshad"* rm -Rf "nxcompext"* rm -Rf "nx-X11"* - cat "debian/patches/series" | sort | grep -v '^#' | egrep "([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 "debian/patches/$file" "doc/applied-patches/" echo "${file##*/}" >> "doc/applied-patches/series" |