summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-13 11:51:53 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-13 11:51:53 -0400
commit9ef8b774c00a2ac078db4310a6b279e93c248253 (patch)
tree58a3da740d9b765c7bb2ba6d03595c977f0ae5eb
parent11b34505c082afc4bee1b805ea366439d9123ff5 (diff)
parentf1b2fce6963bf60b7d3c899d324bdc9a44add06c (diff)
Merge branch 'lukeshu/postmove' into lukeshu/master
-rwxr-xr-xmove.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/move.sh b/move.sh
index 136e991556..b817974ecf 100755
--- a/move.sh
+++ b/move.sh
@@ -255,8 +255,10 @@ breakup_makefile() (
fixup_includes() (
find src \( -name '*.h' -o -name '*.c' \) \
- -exec grep '#include "sd-' -l -- {} + |
- xargs -d $'\n' sed -ri 's|#include "(sd-[^"]*)"|#include <systemd/\1>|'
+ -exec grep '#include ["<]sd-' -l -- {} + |
+ xargs -d $'\n' sed -ri \
+ -e 's|#include "(sd-[^"]*)"|#include <systemd/\1>|' \
+ -e 's|#include <(sd-[^>]*)>|#include <systemd/\1>|'
)
fixup_makefile() {