In article <[EMAIL PROTECTED]> you wrote:

>    Changed position of "cd" commiting new version
> [...]
>           echo "++ comitting changes to CVS repository"
>  -        cd ${OPENPKG_WORK} || die "cannot cd to ${OPENPKG_WORK}"
>           if [ ".${msg}" != . -a -f "${msg}" ]; then
>  +            cd ${OPENPKG_WORK} || die "cannot cd to ${OPENPKG_WORK}"
>               if [ ${dry} -eq 0 ]; then
>                   cvs commit -F "${msg}" src/${name} re/vcheck/vc.${name} 
>web/news.txt 
>               else
>  @@ -384,6 +384,7 @@
>                   cvs diff src/${name} re/vcheck/vc.${name} web/news.txt
>               fi
>           else
>  +            cd ${OPENPKG_WORK} || die "cannot cd to ${OPENPKG_WORK}"
>               if [ ${dry} -eq 0 ]; then
>                   cvs commit -m "${msg}" src/${name} re/vcheck/vc.${name} 
>web/news.txt 

Sorry, I do not see any reason in this change. Instead IMHO it just adds
more redundancy to the script. At least the functionality is unchanged
by this commit. So what was the reason for this change? Can you shed
some light on this please.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to