|
From: Friedrich L. <fr...@us...> - 2006-05-25 23:53:01
|
Update of /cvsroot/devil-linux/build In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv11514/d Modified Files: Tag: rel-1-2-patches update_src Log Message: shell wraps return value 256 to 0 - fixed Index: update_src =================================================================== RCS file: /cvsroot/devil-linux/build/update_src,v retrieving revision 1.32.2.7 retrieving revision 1.32.2.8 diff -u -d -r1.32.2.7 -r1.32.2.8 --- update_src 25 May 2006 23:44:13 -0000 1.32.2.7 +++ update_src 25 May 2006 23:52:52 -0000 1.32.2.8 @@ -103,7 +103,7 @@ test -n "$input" -a $input -ge 0 -a "${#menu[$input]}" -ne 0 2>/dev/null && ret=$input test -n "$input" -a \( "$input" = "e" -o "$input" = "E" \) 2>/dev/null && - ret=256 + ret=254 test -z "$input" 2>/dev/null && ret=1 done @@ -116,7 +116,7 @@ ret=$? echo -if test $ret -eq 256; then +if test $ret -eq 254; then echo Doing NO update, exiting... exit 0 fi |