Fixed the cat of pi-version.h
authorEskil Heyn Olsen <eskil@eskil.dk>
Sat, 23 Jun 2001 05:14:10 +0000 (05:14 +0000)
committerEskil Heyn Olsen <eskil@src.gnome.org>
Sat, 23 Jun 2001 05:14:10 +0000 (05:14 +0000)
2001-06-22  Eskil Heyn Olsen  <eskil@eskil.dk>

        * gnome-pilot.m4:
        Fixed the cat of pi-version.h

svn path=/trunk/; revision=1802

macros/ChangeLog
macros/gnome-pilot.m4

index 30a8943..adfede3 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-22  Eskil Heyn Olsen  <eskil@eskil.dk>
+
+       * gnome-pilot.m4:
+       Fixed the cat of pi-version.h
+
 2001-06-20  Havoc Pennington  <hp@redhat.com>
 
        * gnome.m4: fix to include the CFLAGS for extra libraries
index c7c82bf..22018f4 100644 (file)
@@ -67,10 +67,10 @@ AC_DEFUN([PILOT_LINK_HOOK],[
                piversion_include="pi-version.h"
        fi
 
-       pi_version=`cat $piversion_include|grep PILOT_LINK_VERSION|sed 's/#define PILOT_LINK_VERSION \([[0-9]]*\)/\1/'`
-       pi_major=`cat $piversion_include|grep PILOT_LINK_MAJOR|sed 's/#define PILOT_LINK_MAJOR \([[0-9]]*\)/\1/'`
-       pi_minor=`cat $piversion_include|grep PILOT_LINK_MINOR|sed 's/#define PILOT_LINK_MINOR \([[0-9]]*\)/\1/'`
-       pi_patch=`cat $piversion_include|grep PILOT_LINK_PATCH|sed 's/#define PILOT_LINK_PATCH \"\(.*\)\"/\1/'`
+       pi_version=`cat $incdir/pi-version.h|grep PILOT_LINK_VERSION|sed 's/#define PILOT_LINK_VERSION \([[0-9]]*\)/\1/'`
+       pi_major=`cat $incdir/pi-version.h|grep PILOT_LINK_MAJOR|sed 's/#define PILOT_LINK_MAJOR \([[0-9]]*\)/\1/'`
+       pi_minor=`cat $incdir/pi-version.h|grep PILOT_LINK_MINOR|sed 's/#define PILOT_LINK_MINOR \([[0-9]]*\)/\1/'`
+       pi_patch=`cat $incdir/pi-version.h|grep PILOT_LINK_PATCH|sed 's/#define PILOT_LINK_PATCH \"\(.*\)\"/\1/'`
 
        PILOT_LINK_VERSION="$pi_version.$pi_major.$pi_minor$pi_patch"