Home | History | Annotate | Download | only in tools

Lines Matching full:patches

18 # Script used to patch a source directory from a series of patches
23 PROGRAM_PARAMETERS="<src-dir> <patches-dir>"
25 "Patch a target source directory with a series of patches taken
27 is found under <patches-dir>/subdir/foo.patch will be applied with
30 Patches are applied in the order they are found by 'find'."
47 echo "ERROR: Missing patches directory. See --help for usage."
52 echo "ERROR: Invalid patches directory: $PATCHES_DIR"
60 PATCHES=`(cd $PATCHES_DIR && find . -name "*.patch" | sort ) 2> /dev/null`
61 if [ -z "$PATCHES" ] ; then
62 log "No patches files in $PATCHES_DIR"
65 PATCHES=`echo $PATCHES | sed -e s%^\./%%g`
66 for PATCH in $PATCHES; do
71 fail_panic "Patch failure with $PATCHES_DIR/$PATCH!! !! Please check your patches directory!"