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 <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>

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

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  <[EMAIL PROTECTED]>
 
+       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