summaryrefslogtreecommitdiff
path: root/move.sh
diff options
context:
space:
mode:
Diffstat (limited to 'move.sh')
-rwxr-xr-xmove.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/move.sh b/move.sh
index 99f935b627..6430e981b6 100755
--- a/move.sh
+++ b/move.sh
@@ -241,6 +241,9 @@ fixup_makefiles() (
src/libbasic/Makefile \
src/libsystemd/libsystemd-journal-internal/Makefile \
src/udev/Makefile
+ find -type f -name Makefile|while read -r filename; do
+ sed -r -i "s|(/\.\.)*/config.mk|$(realpath -ms --relative-to="${filename#%/*}" config.mk)|" "$filename"
+ done
)
move() (