tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wrapper_results



Assigning a variable which is never referenced.  Must be a typo.

Index: mk/wrapper/wrapper.sh
===================================================================
RCS file: /cvsroot/pkgsrc/mk/wrapper/wrapper.sh,v
retrieving revision 1.21
diff -u -p -r1.21 wrapper.sh
--- mk/wrapper/wrapper.sh       30 May 2009 19:18:01 -0000      1.21
+++ mk/wrapper/wrapper.sh       18 Apr 2013 10:57:00 -0000
@@ -133,7 +133,7 @@ msg_log $wrapperlog "<.>" "$cmd"
 
 if [ "${empty_file}" = "${cleanup}" ] && [ "$debug" != "yes" ]; then
        eval "exec $cmd"
-       wrapper_results=$?
+       wrapper_result=$?
 else
        wrapper_result=0
        eval "$cmd" || wrapper_result="$?"


Home | Main Index | Thread Index | Old Index