OSDN Git Service

2009-03-27 Vladimir Makarov <vmakarov@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / fixproto
index a12349e..7c42d9c 100755 (executable)
@@ -4,7 +4,7 @@
 #      fixproto TARGET-DIR SOURCE-DIR-ALL SOURCE-DIR-STD
 #
 # COPYRIGHT
-#      Copyright (C) 1993, 1994, 1997, 1998, 2002, 2003, 2007
+#      Copyright (C) 1993, 1994, 1997, 1998, 2002, 2003, 2007, 2008
 #       Free Software Foundation, Inc.
 #      This file is part of GCC.
 #
@@ -197,7 +197,7 @@ for code in ALL STD ; do
        fi
       fi
       # Append "/"; remove initial "./". Hence "." -> "" and "sys" -> "sys/".
-      rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^./||'`
+      rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^\./||'`
 
       case $code in
        ALL)