summaryrefslogtreecommitdiff
path: root/move.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 03:29:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 03:29:40 -0400
commit0ca25509f557bbab44116c4f76dc2506a90e3e13 (patch)
tree4d0b8b346dde39bd8225d5939957b768e2ac9935 /move.sh
parentc97d04c6f98646f4ffef185ed96f552c986da664 (diff)
oops
Diffstat (limited to 'move.sh')
-rwxr-xr-xmove.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/move.sh b/move.sh
index 6430e981b6..59d2bd3894 100755
--- a/move.sh
+++ b/move.sh
@@ -242,7 +242,7 @@ fixup_makefiles() (
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"
+ sed -r -i "s|(/\.\.)*/config.mk|$(realpath -ms --relative-to="${filename%/*}" config.mk)|" "$filename"
done
)