Author: rmeggins
Update of /cvs/dirsec/dsmlgw/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18678/dsmlgw/scripts
Modified Files: dsmlgw-search.in Log Message: added dsml data files to package - fix minor bugs in dsmlgw-search
Index: dsmlgw-search.in =================================================================== RCS file: /cvs/dirsec/dsmlgw/scripts/dsmlgw-search.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- dsmlgw-search.in 24 Apr 2008 21:39:10 -0000 1.1 +++ dsmlgw-search.in 24 Apr 2008 21:52:41 -0000 1.2 @@ -31,7 +31,7 @@ base=no_suffix_supplied filter='(objectclass=*)'
-while [ "$1" ] ; do +while [ -n "$1" ] ; do case "$1" in -h) shift; hostname="$1" ;; -p) shift; port="$1" ;; @@ -67,9 +67,9 @@ <filter><present name="objectclass"/></filter> EOF
-if [ "$1" ] ; then +if [ -n "$1" ] ; then echo "<attributes>" >> $tmpdsml - while [ "$1" ] ; do + while [ -n "$1" ] ; do echo "<attribute name=""$1""/>" >> $tmpdsml shift done @@ -85,7 +85,7 @@
dsmlgwlibdir=@dsmlgwdatadir@/webapps/axis/WEB-INF/lib for file in $dsmlgwlibdir/*.jar ; do - if [ "$AXISCP" ] ; then + if [ -n "$AXISCP" ] ; then AXISCP=${AXISCP}:$file else AXISCP=$file
389-commits@lists.fedoraproject.org