+2014-12-02 KO Myung-Hun <komh78@gmail.com>
+
+ gnulib-tool: recognize x:* as an absolute path
+ * gnulib-tool (func_gnulib_dir): Add ?:* case.
+ (func_relconcat): Likewise.
+
2014-12-02 Andrei Borzenkov <arvidjaar@gmail.com>
argp: avoid extraneous translation and mem leak with empty pre doc
func_gnulib_dir ()
{
case "$progname" in
- /*) self_abspathname="$progname" ;;
+ /* | ?:*) self_abspathname="$progname" ;;
*/*) self_abspathname=`pwd`/"$progname" ;;
*)
# Look in $PATH.
linkval=`func_readlink "$self_abspathname"`
test -n "$linkval" || break
case "$linkval" in
- /* ) self_abspathname="$linkval" ;;
+ /* | ?:* ) self_abspathname="$linkval" ;;
* ) self_abspathname=`echo "$self_abspathname" | sed -e 's,/[^/]*$,,'`/"$linkval" ;;
esac
done
func_ln ()
{
case "$1" in
- /*)
+ /* | ?:*)
ln -s "$1" "$2" ;;
*) # SRC is relative.
case "$2" in
- /*)
+ /* | ?:*)
ln -s "`pwd`/$1" "$2" ;;
*) # DEST is relative too.
ln_destdir=`echo "$2" | sed -e 's,[^/]*$,,'`