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'."
33 register_var_option "--reverse" OPTION_REVERSE "Reverse the patches applied previously"
50 echo "ERROR: Missing patches directory. See --help for usage."
55 echo "ERROR: Invalid patches directory: $PATCHES_DIR"
68 PATCHES=`(cd $PATCHES_DIR && find . -name "*.patch" | sort $SORT) 2> /dev/null`
70 if [ -z "$PATCHES" ] ; then
71 log "No patches files in $PATCHES_DIR"
74 PATCHES=`echo $PATCHES | sed -e s%^\./%%g`
75 for PATCH in $PATCHES; do
81 fail_panic "Patch failure with $PATCHES_DIR/$PATCH!! !! Please check your patches directory!"