You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Max Okumoto <ok...@ucsd.edu> on 2001/11/30 12:18:12 UTC

buildcheck.sh has same problem as autogen.sh on solaris 8

/bin/sh does not understand variabe=$(cmd) syntax.  And output
of which contains noise.

					Max Okumoto


Index: buildcheck.sh
===================================================================
--- .svn/text-base/buildcheck.sh.svn-base	Fri Nov 30 03:23:23 2001
+++ buildcheck.sh	Fri Nov 30 04:09:03 2001
@@ -20,7 +20,7 @@
 echo "buildcheck: autoconf version $ac_version (ok)"
 
 # libtool 1.4 or newer
-libtool=$(which glibtool libtool 2>/dev/null | head -1)
+libtool=`which glibtool libtool 2>/dev/null | grep -v '^no ' | head -1`
 lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
 if test -z "$lt_pversion"; then
   echo "buildcheck: libtool not found."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: buildcheck.sh has same problem as autogen.sh on solaris 8

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Max Okumoto <ok...@ucsd.edu> writes:
> /bin/sh does not understand variabe=$(cmd) syntax.  And output
> of which contains noise.

Thanks Max -- I know we could make one up, but could you get in the
habit of writing the log message to go with every patch?  Just makes
the process smoother, thanks,

-K

> Index: buildcheck.sh
> ===================================================================
> --- .svn/text-base/buildcheck.sh.svn-base	Fri Nov 30 03:23:23 2001
> +++ buildcheck.sh	Fri Nov 30 04:09:03 2001
> @@ -20,7 +20,7 @@
>  echo "buildcheck: autoconf version $ac_version (ok)"
>  
>  # libtool 1.4 or newer
> -libtool=$(which glibtool libtool 2>/dev/null | head -1)
> +libtool=`which glibtool libtool 2>/dev/null | grep -v '^no ' | head -1`
>  lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
>  if test -z "$lt_pversion"; then
>    echo "buildcheck: libtool not found."
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org