]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
git2spec.pl: strip path from patches
authorHarald Hoyer <harald@redhat.com>
Thu, 17 Nov 2011 10:01:41 +0000 (11:01 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 17 Nov 2011 10:03:08 +0000 (11:03 +0100)
git2spec.pl

index 27e588947fd1a94cebbb25fa0477943021f3ca7a..38f899ad9e2d8501907ff129076aee686db3dd94 100755 (executable)
@@ -49,6 +49,7 @@ while(<>) {
        print $_;
        $num=1;
        for(@patches) {
+           s/.*\///g;
            print "Patch$num: $_";
            $num++;
        }