projects
/
dotfiles-public.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef1591f
)
Add `-p0` to patch.sh's patch call (to find files in dotted directories).
author
W. Trevor King
<wking@drexel.edu>
Mon, 28 Nov 2011 21:12:55 +0000
(16:12 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 28 Nov 2011 21:12:55 +0000
(16:12 -0500)
bin/patch.sh
patch
|
blob
|
history
diff --git
a/bin/patch.sh
b/bin/patch.sh
index bb1f5837c5ae326d1c86df1ca952cda90b6cb074..dfe7ff5f68c9f49a2a0bf92a0839bfb4c6126db8 100755
(executable)
--- 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