]> git.ozlabs.org Git - next-scripts/commitdiff
import-akpm: drop CR from the end of each line of the series file
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 4 Nov 2019 22:58:07 +0000 (09:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 4 Nov 2019 22:58:07 +0000 (09:58 +1100)
import-akpm

index ac5750446e3821314eab48108da740bab2c86709..235ab70386eb5eeb90b2e71226e10f708f5b0c63 100755 (executable)
@@ -55,6 +55,7 @@ execute git branch tmp-akpm/current-base ||
        $SHELL -i || exit
 
 sed_exp='
+s/\r$//
 /NEXT_PATCHES_START/,/NEXT_PATCHES_END/{
        s/[ \t]*#.*$//
        /^[ \t]*$/!p