4 # Make superpatch from current series using combinediff.
7 . patchfns >/dev/null || . /usr/lib/patch-scripts/patchfns >/dev/null || { \
8 echo "Impossible to find my library 'patchfns'."
9 echo "Check your install, or go to the right directory"
15 echo "Usage: sum-series output-file"
24 need_file_there applied-patches
25 CURRENT=$(mktemp /tmp/cmbd-XXXXXXXX)
26 for FILE in $(cat applied-patches)
28 # echo "Adding patch $FILE...."
29 if [ -f $P/patches/$FILE ]
31 cat $P/patches/$FILE >> $CURRENT
32 elif [ -f $P/patches/$FILE.patch ]
34 cat $P/patches/$FILE.patch >> $CURRENT