summaryrefslogtreecommitdiff
path: root/move.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 03:28:15 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 03:28:15 -0400
commitc97d04c6f98646f4ffef185ed96f552c986da664 (patch)
treec9d2498e1af904683238b1a120879fe9f690e5e7 /move.sh
parent1695727ec85c18e7a31fa824d68bb59704ddacd7 (diff)
fewer differences
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() (