Generally bring up-to-date.
[cfd] / mklinks.in
index bc27bbf..af3ac2c 100755 (executable)
@@ -2,8 +2,6 @@
 
 # -*-sh-*-
 #
-# $Id: mklinks.in,v 1.4 1997/09/11 09:06:34 mdw Exp $
-#
 # Create links to the repository
 #
 # (c) 1997 Mark Wooding
 # along with `common'; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#----- Revision history -----------------------------------------------------
-#
-# $Log$
-
 # --- Configuration variables ---
 
 prefix=@prefix@
+datarootdir=@datarootdir@
 datadir=@datadir@/@PACKAGE@
 
 # --- Parse command line arguments ---
@@ -52,7 +47,7 @@ EOF
       ;;
     -v | --v | --ve | --ver | --vers | --versi | --versio | --version)
       version=`echo '$Revision: 1.4 $' |
-       sed -n -e 's;^.*: \([0-9.]*\)\\$;\1;p'`
+       sed -n -e 's;^.*: \([0-9.]*\) *\\$;\1;p'`
       echo "mklinks $version; Common Files Distribution version @VERSION@"
       exit 0
       ;;