From: Hans U. N. <hu...@us...> - 2005-05-07 19:12:17
|
Update of /cvsroot/libexif/libexif In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5380/libexif Modified Files: autogen.sh Log Message: autogen.sh update (0.4.3) Index: autogen.sh =================================================================== RCS file: /cvsroot/libexif/libexif/autogen.sh,v retrieving revision 1.34 retrieving revision 1.35 diff -u -p -d -r1.34 -r1.35 --- autogen.sh 22 Apr 2005 14:55:10 -0000 1.34 +++ autogen.sh 7 May 2005 19:12:03 -0000 1.35 @@ -19,7 +19,7 @@ debug="false" recursive="false" dryrun="false" self="$(basename "$0")" -autogen_version="0.4.2" +autogen_version="0.4.3" ######################################################################## @@ -336,7 +336,9 @@ fi # Just error propagation status="$?" echo "$self:init: Left directory \`${dir}'" - if test "$status" -ne "0"; then + if "$recursive"; then + : + elif test "$status" -ne "0"; then exit "$status" fi } @@ -435,12 +437,13 @@ fi for dir in ${dirs}; do "$debug" && echo "Running commands on directory \`${dir}'" if test ! -d "$dir"; then - echo "Could not find directory \`${dir}'" + echo "Could not find directory \`${dir}'" + else + init_vars "$dir" + for command in ${commands}; do + "command_$command" "$dir" + done fi - init_vars "$dir" - for command in ${commands}; do - "command_$command" "$dir" - done done exit 0 |