reorder-patches revision 6260
f401e48c2db22ff9d1a05885b5599bebf19c2707Lennart Poettering echo $1 | sed -e 's/^\(.*\)-\([0-9][0-9]\)-\(.*\)$/\2/'
8cf3a8a982661c0bb9b04ff27f6d486b38b1b35eLennart Poettering echo $1 | sed -e 's/^\(.*\)-\([0-9][0-9]\)-\(.*\)$/\1/'
335aa753fa60ba0bb3c9fe679c761d5f1f3b1588Lennart Poettering echo $1 | sed -e 's/^\(.*\)-\([0-9][0-9]\)-\(.*\)$/\3/'
46574a5b4afeac0c3f69f15ce47c460309cb9becLennart Poettering if [ -f ../$3.spec ]; then
85ed27f699939f75b8422ae67e016bdf9f439da9Lennart Poettering perl -pi -e "s/Patch(.*):(\s*)$1/Patch\$1:\$2$2/" ../$3.spec
93a45c562a1989dfbb2dd08c65f8a21b02959934Lennart Poettering# ask "question" variable_name "default answer"
449ddb2d23a63ca4c8cd70d13a070fba87c1fb30Lennart Poettering if [ ! -z $3 ]; then
while [ $yes_no_repeat = yes ]; do
-f|--force )
-h|--help )
if [ -f $n_p_1st ]; then
echo "No patches found for component $comp"
echo "No patches need renumbering for component $prev_comp"
echo "No patches need renumbering for component $prev_comp"