diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/functions.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/functions.sh b/lib/functions.sh index 0eaef13..f585c78 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -98,22 +98,22 @@ try_patch() { if [[ -d "${target}" ]]; then pushd "${target}" &>/dev/null - gpatch -g0 -p0 --dry-run <"${patch}" &> "${T}/autepatch.$$.${patchname}.log" || \ + gpatch -g0 -p0 --dry-run <"${patch}" &> "${T}/autoepatch.$$.${patchname}.log" || \ return 1 ebegin " Applying ${patchname} ..." - patch -g0 -p0 --no-backup-if-mismatch "${patch}" &> "${T}/autepatch.$$.${patchname}.log" + patch -g0 -p0 --no-backup-if-mismatch "${patch}" &> "${T}/autoepatch.$$.${patchname}.log" ret=$? eend ${ret} popd &>/dev/null return ${ret} else - gpatch -g0 --dry-run "${target}" "${patch}" &> "${T}/autepatch.$$.${patchname}.log" || \ + gpatch -g0 --dry-run "${target}" "${patch}" &> "${T}/autoepatch.$$.${patchname}.log" || \ return 1 ebegin " Applying ${patchname} ..." - patch -g0 --no-backup-if-mismatch "${target}" "${patch}" &> "${T}/autepatch.$$.${patchname}.log" + patch -g0 --no-backup-if-mismatch "${target}" "${patch}" &> "${T}/autoepatch.$$.${patchname}.log" ret=$? eend ${ret} |