Author: mvidner Date: Wed Apr 16 18:24:09 2008 New Revision: 46769 URL: http://svn.opensuse.org/viewcvs/yast?rev=46769&view=rev Log: removed bash constructs from y2tool and y2automake which are marked with /bin/sh (bnc#379849) Modified: trunk/devtools/devtools/bin/y2automake trunk/devtools/devtools/bin/y2tool trunk/devtools/package/yast2-devtools.changes Modified: trunk/devtools/devtools/bin/y2automake URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/y2automake?... ============================================================================== --- trunk/devtools/devtools/bin/y2automake (original) +++ trunk/devtools/devtools/bin/y2automake Wed Apr 16 18:24:09 2008 @@ -102,7 +102,7 @@ # Generate po/Makefile.am # -if [ x"yast2-trans" = x$(cat RPMNAME | sed 's:(yast2-trans).*:\1:') -a \ +if [ x"yast2-trans" = x`cat RPMNAME | sed 's:(yast2-trans).*:\1:'` -a \ -d po ]; then po_adminpath=$y2adminpath/po Modified: trunk/devtools/devtools/bin/y2tool URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/y2tool?rev=... ============================================================================== --- trunk/devtools/devtools/bin/y2tool (original) +++ trunk/devtools/devtools/bin/y2tool Wed Apr 16 18:24:09 2008 @@ -9,7 +9,7 @@ self=`basename $0` -if [ "$1" == "--prefix" -o "$1" == "-p" ]; then +if [ "$1" = "--prefix" -o "$1" = "-p" ]; then shift PREFIX="$1" shift @@ -21,14 +21,14 @@ fi y2toolpath=${PREFIX}/share/YaST2/data/devtools/bin -if [ `dirname $0` == "." ]; then +if [ `dirname $0` = "." ]; then y2toolpath=. fi cmd=$1 shift -if [ "$cmd" == "--help" -o "$cmd" == "-h" ]; then +if [ "$cmd" = "--help" -o "$cmd" = "-h" ]; then cd $y2toolpath ls exit 0 Modified: trunk/devtools/package/yast2-devtools.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.c... ============================================================================== --- trunk/devtools/package/yast2-devtools.changes (original) +++ trunk/devtools/package/yast2-devtools.changes Wed Apr 16 18:24:09 2008 @@ -1,6 +1,9 @@ ------------------------------------------------------------------- -Wed Apr 16 18:20:55 CEST 2008 - mvidner@suse.cz +Wed Apr 16 18:23:31 CEST 2008 - mvidner@suse.cz +- removed bash constructs from y2tool and y2automake which are marked + with /bin/sh (bnc#379849) +- exposed warnings in ydoc2 (docs for YCP builtins) - tagversion --remove: remove tag after adding it by mistake ------------------------------------------------------------------- -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org