summaryrefslogtreecommitdiff
path: root/move.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 14:14:53 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 14:14:53 -0400
commit4cf1fcb1751ee20b4ddbebc93a7ed85662501947 (patch)
tree34d80aac873ffd6fe0e1e9a5724d6d748eeb14b4 /move.sh
parentf2be8df65980cae2a8037a97e457afb86fcb4a24 (diff)
more stuff
Diffstat (limited to 'move.sh')
-rwxr-xr-xmove.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/move.sh b/move.sh
index 3bb3e14d8e..f1ed801357 100755
--- a/move.sh
+++ b/move.sh
@@ -131,3 +131,9 @@ set -e
done < <(sed -r 's|^if (.*)|ifneq ($(\1),)|' <Makefile.am)
rm .tmp.move.all
)
+
+(
+ find src \( -name '*.h' -o -name '*.c' \) \
+ -exec grep '#include "sd-' -l -- {} + |
+ xargs -d $'\n' sed -ri 's|#include "(sd-[^"]*)"|#include <systemd/\1>|'
+)