Lines Matching full:patch
52 echo " ./import_scrypt.sh regenerate <patch/*.patch>"
53 echo " ./import_scrypt.sh generate <patch/*.patch> </path/to/scrypt-*.tar.gz>"
59 die "scrypt patch directory patches/ not found"
90 declare -r patch=$1
91 shift || usage "No patch file specified."
94 regenerate $patch
96 declare -r patch=$1
97 shift || usage "No patch file specified."
100 generate $patch $tar
353 declare -r patch=$1
355 generatepatch $patch
359 declare -r patch=$1
363 applypatches $SCRYPT_DIR_ORIG $patch
372 generatepatch $patch
430 echo "Applying patch $i"
431 …patch -p1 --merge < ../patches/$i || die "Could not apply patches/$i. Fix source and run: $0 regen…
433 echo "Skiping patch $i"
438 # Cleanup patch output
445 declare -r patch=$1
447 # Cleanup stray files before generating patch
451 declare -r variable_name=SCRYPT_PATCHES_`basename $patch .patch | sed s/-/_/`_SOURCES
454 rm -f $patch
455 touch $patch
457 …Z=UTC0 diff -aupN $SCRYPT_DIR_ORIG/$i $SCRYPT_DIR/$i >> $patch && die "ERROR: No diff for patch $p…
459 echo "Generated patch $patch"
460 …re there are not unwanted changes from conflicting patches, be sure to review the generated patch."