diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-13 11:51:53 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-13 11:51:53 -0400 |
commit | 9ef8b774c00a2ac078db4310a6b279e93c248253 (patch) | |
tree | 58a3da740d9b765c7bb2ba6d03595c977f0ae5eb | |
parent | 11b34505c082afc4bee1b805ea366439d9123ff5 (diff) | |
parent | f1b2fce6963bf60b7d3c899d324bdc9a44add06c (diff) |
Merge branch 'lukeshu/postmove' into lukeshu/master
-rwxr-xr-x | move.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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() { |