From: W. Trevor King Date: Mon, 28 Nov 2011 21:12:55 +0000 (-0500) Subject: Add `-p0` to patch.sh's patch call (to find files in dotted directories). X-Git-Tag: v0.3~55 X-Git-Url: http://git.tremily.us/?p=dotfiles-framework.git;a=commitdiff_plain;h=8b67f2c6338f35102da3b7680338edc577a04386 Add `-p0` to patch.sh's patch call (to find files in dotted directories). --- diff --git a/bin/patch.sh b/bin/patch.sh index bb1f583..dfe7ff5 100755 --- a/bin/patch.sh +++ b/bin/patch.sh @@ -18,7 +18,7 @@ for PATCH in local-patch/*.patch; do if [ -f "${PATCH}" ]; then echo "apply ${PATCH}" pushd patched-src/ > /dev/null || exit 1 - patch < "../${PATCH}" || exit 1 + patch -p0 < "../${PATCH}" || exit 1 popd > /dev/null || exit 1 fi done