[Clfs-commits] commit: r4391 - in /trunk/scripts/patch: bash-patch.sh binutils-patch.sh ncurses-patch.sh readline-patch.sh vim-patch.sh

svn at cross-lfs.org svn at cross-lfs.org
Thu Jan 8 16:12:41 PST 2009


Author: jim
Date: Fri Jan  9 00:12:41 2009
New Revision: 4391

Log:
Fixes to Patch Creation Scripts

Modified:
    trunk/scripts/patch/bash-patch.sh
    trunk/scripts/patch/binutils-patch.sh
    trunk/scripts/patch/ncurses-patch.sh
    trunk/scripts/patch/readline-patch.sh
    trunk/scripts/patch/vim-patch.sh

Modified: trunk/scripts/patch/bash-patch.sh
==============================================================================
--- trunk/scripts/patch/bash-patch.sh (original)
+++ trunk/scripts/patch/bash-patch.sh Fri Jan  9 00:12:41 2009
@@ -79,6 +79,7 @@
 
 # Cleanup Directory
 #
+
 for dir in $(find * -type d); do
 	cd /usr/src/bash-${VERSION}/${dir}
 	for file in $(find * -name *~); do
@@ -88,6 +89,8 @@
 		rm -f ${file}
 	done
 done
+cd /usr/src/bash-${VERSION}/${dir}
+rm -f *.orig *~
 
 # Create Patch
 #

Modified: trunk/scripts/patch/binutils-patch.sh
==============================================================================
--- trunk/scripts/patch/binutils-patch.sh (original)
+++ trunk/scripts/patch/binutils-patch.sh Fri Jan  9 00:12:41 2009
@@ -65,7 +65,8 @@
 		rm -f ${file}
 	done
 done
-
+cd /usr/src/binutils-${VERSION}
+rm -f *.orig *~
 rm -f /usr/src/binutils-${VERSION}.orig/md5.sum
 
 # Make Binutils a Release

Modified: trunk/scripts/patch/ncurses-patch.sh
==============================================================================
--- trunk/scripts/patch/ncurses-patch.sh (original)
+++ trunk/scripts/patch/ncurses-patch.sh Fri Jan  9 00:12:41 2009
@@ -86,6 +86,8 @@
 		rm -f ${file}
 	done
 done
+cd /usr/src/ncurses-${VERSION}/${dir}
+rm -f *.orig *~
 
 # Create Patch
 #

Modified: trunk/scripts/patch/readline-patch.sh
==============================================================================
--- trunk/scripts/patch/readline-patch.sh (original)
+++ trunk/scripts/patch/readline-patch.sh Fri Jan  9 00:12:41 2009
@@ -90,6 +90,8 @@
 		rm -f ${file}
 	done
 done
+cd /usr/src/readline-${VERSION}/${dir}
+rm -f *.orig *~
 
 # Create Patch
 #

Modified: trunk/scripts/patch/vim-patch.sh
==============================================================================
--- trunk/scripts/patch/vim-patch.sh (original)
+++ trunk/scripts/patch/vim-patch.sh Fri Jan  9 00:12:41 2009
@@ -90,6 +90,8 @@
 		rm -f ${file}
 	done
 done
+cd /usr/src/vim${SERIES}/${dir}
+rm -f *.orig *~
 
 # Create Patch
 #




More information about the Clfs-commits mailing list