about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index f625f76108..2c13c2073c 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -787,7 +787,7 @@ $(common-objpfx)sysd-sorted: $(..)scripts/gen-sorted.awk $(all-Depend-files) \
 			     $(common-objpfx)sysd-dirs $(..)Makeconfig
 	(files="$(all-Depend-files)";					\
 	 for f in $$files; do						\
-	   dir=`echo $$f | sed 's/^$(..)\(.*\)\/[^/]*$$/\1/'`;		\
+	   dir=`echo $$f | sed 's@^$(..)\(.*\)/[^/]*$$@\1@'`;		\
 	   while read on; do						\
 	     echo "depend $$dir $$on";					\
 	   done < $$f;							\