diff options
Diffstat (limited to 'source4/script/yacc_compile.sh')
-rwxr-xr-x | source4/script/yacc_compile.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/script/yacc_compile.sh b/source4/script/yacc_compile.sh index 46a6fb6455..4c87b7c4b7 100755 --- a/source4/script/yacc_compile.sh +++ b/source4/script/yacc_compile.sh @@ -9,12 +9,12 @@ file=`basename $SRC` base=`basename $SRC .y` if [ -z "$YACC" ]; then echo "yacc not found" - return; + exit; fi if [ -r $DEST ]; then if [ x`find $SRC -newer $DEST -print` != x$SRC ]; then - return; - fi + exit; + fi fi TOP=`pwd` if cd $dir && $YACC -d $file; then |