about summary refs log tree commit diff
path: root/sysdeps/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/Makefile')
-rw-r--r--sysdeps/unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile
index 2b607a007a..e6adb9dffa 100644
--- a/sysdeps/unix/Makefile
+++ b/sysdeps/unix/Makefile
@@ -52,13 +52,13 @@ $(objpfx)stub-syscalls.c: $(common-objpfx)sysd-syscalls \
 	   case $$call in \
 	   *@@*) \
 	     ver=$${call##*@}; call=$${call%%@*}; \
-	     ver=`echo "$ver" | sed 's/\./_/g'`; \
+	     ver=`echo "$$ver" | sed 's/\./_/g'`; \
 	     echo "strong_alias (_no_syscall, __$${call}_$${ver})"; \
 	     echo "versioned_symbol (libc, __$${call}_$${ver}, $$call, $$ver);"\
 	     ;; \
 	   *@*) \
 	     ver=$${call##*@}; call=$${call%%@*}; \
-	     ver=`echo "$ver" | sed 's/\./_/g'`; \
+	     ver=`echo "$$ver" | sed 's/\./_/g'`; \
 	     echo "strong_alias (_no_syscall, __$${call}_$${ver})"; \
 	     echo "compat_symbol (libc, __$${call}_$${ver}, $$call, $$ver);" \
 	     ;; \