Add `-p0` to patch.sh's patch call (to find files in dotted directories).
authorW. Trevor King <wking@drexel.edu>
Mon, 28 Nov 2011 21:12:55 +0000 (16:12 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 28 Nov 2011 21:12:55 +0000 (16:12 -0500)
bin/patch.sh

index bb1f5837c5ae326d1c86df1ca952cda90b6cb074..dfe7ff5f68c9f49a2a0bf92a0839bfb4c6126db8 100755 (executable)
@@ -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