libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.6-40-gf8c657d


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-40-gf8c657d
Date: Sun, 23 Nov 2008 13:50:03 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  f8c657da16d884656c82189f67df5a3c2d4167d6 (commit)
      from  9c3d4d8f91904f4b99446c7a1870acf61357d715 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f8c657da16d884656c82189f67df5a3c2d4167d6
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Nov 23 14:49:22 2008 +0100

    No need to prepend $progname with './'.
    
    * libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
    copes with leading hyphens now, so do not mangle $progname any
    more.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    5 +++++
 libltdl/config/general.m4sh |    5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cc05721..03e6d3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-11-23  Ralf Wildenhues  <address@hidden>
 
+       No need to prepend $progname with './'.
+       * libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
+       copes with leading hyphens now, so do not mangle $progname any
+       more.
+
        Revenge of the $ECHO. Kill most uses of Xsed.
        * libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
        | $Xsed' with `$ECHO "..." | $SED', and employ further trivial
diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh
index 9fe5873..4bc304c 100644
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
@@ -101,13 +101,8 @@ func_dirname_and_basename ()
 # Generated shell functions inserted here.
 
 # The name of this program:
-# In the unlikely event $progname began with a '-', it would play havoc with
-# func_echo (imagine progname=-n), so we prepend ./ in that case:
 func_dirname_and_basename "$progpath"
 progname=$func_basename_result
-case $progname in
-  -*) progname=./$progname ;;
-esac
 
 # Make sure we have an absolute path for reexecution:
 case $progpath in


hooks/post-receive
--
GNU Libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]