Hello community,

here is the log from the commit of package aaa_base for openSUSE:Factory
checked in at Thu Jul 14 17:17:19 CEST 2011.



--------
--- aaa_base/aaa_base.changes   2011-07-06 16:13:16.000000000 +0200
+++ /mounts/work_src_done/STABLE/aaa_base/aaa_base.changes      2011-07-14 
15:44:10.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jul 14 13:43:48 UTC 2011 - wer...@suse.de
+
+- Do not use CDPATH for local paths (bnc#703682)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ aaa_base.spec ++++++
--- /var/tmp/diff_new_pack.RUJGGz/_old  2011-07-14 17:16:57.000000000 +0200
+++ /var/tmp/diff_new_pack.RUJGGz/_new  2011-07-14 17:16:57.000000000 +0200
@@ -21,7 +21,7 @@
 
 Name:           aaa_base
 Version:        12.1
-Release:        91
+Release:        93
 License:        GPLv2+
 Group:          System/Fhs
 Url:            http://gitorious.org/opensuse/aaa_base

++++++ aaa_base.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aaa_base/files/etc/profile.d/complete.bash 
new/aaa_base/files/etc/profile.d/complete.bash
--- old/aaa_base/files/etc/profile.d/complete.bash      2011-07-06 
16:10:14.000000000 +0200
+++ new/aaa_base/files/etc/profile.d/complete.bash      2011-07-14 
15:42:34.000000000 +0200
@@ -82,14 +82,13 @@
     local c=${COMP_WORDS[COMP_CWORD]}
     local s g=0 x
     local IFS=$'\n'
-    local -i o
     local -i isdir=0
     local -i cdpath=0
 
     shopt -q extglob && g=1
     test $g -eq 0 && shopt -s extglob
 
-    if [[ $COMP_WORDBREAKS =~ : && $COMP_LINE  =~ : ]] ; then
+    if [[ $COMP_WORDBREAKS =~ : && $COMP_LINE =~ : ]] ; then
        # Do not use plusdirs as there is a colon in the directory
        # name(s) which will not work even if escaped with backslash.
        compopt +o plusdirs
@@ -103,12 +102,23 @@
        fi
     fi
 
-    case "$(complete -p ${1##*/} 2> /dev/null)" in
+    case "${1##*/}" in
     mkdir)  ;;
+    cd)            s="-S/"
+           case "$c" in
+           .*) ;;
+           *)  let cdpath++
+           esac
+           ;;
+    pushd)  s="-S/"
+           case "$c" in
+           .*) ;;
+           *)  let cdpath++
+           esac
+           ;;
     *)     s="-S/"
     esac
-    test "${1##*/}" != "cd" -a "${1##*/}" != "pushd" || let cdpath++
-    
+
     case "$c" in
     *[*?[]*)   COMPREPLY=()                            # use bashdefault
                ((cdpath == 0)) || _cdpath_ "$c"


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to