about summary refs log tree commit diff
path: root/sysdeps/unix/Makefile
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2013-12-13 08:45:01 +0900
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2013-12-13 08:45:01 +0900
commitddfab6dc651e23c5c484678145299303fcd9e93a (patch)
tree1a95305a5c149e81edcbd2455d2ca4b239dbc07d /sysdeps/unix/Makefile
parentc5e0e35ca7bcea70d8fdbe55d907dc20f7036c8e (diff)
downloadglibc-ddfab6dc651e23c5c484678145299303fcd9e93a.tar.gz
glibc-ddfab6dc651e23c5c484678145299303fcd9e93a.tar.xz
glibc-ddfab6dc651e23c5c484678145299303fcd9e93a.zip
Use $$ver instead of $ver.
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);" \
 	     ;; \