[BACK]Return to checkrc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/checkrc.c between version 1.1 and 1.2

version 1.1, 2012/04/06 23:48:53 version 1.2, 2012/05/15 15:50:58
Line 84  check(const char *varname, int filetoche
Line 84  check(const char *varname, int filetoche
   
         create_script(varname, filetocheck);          create_script(varname, filetocheck);
   
         collect(T_OUTPUT, &buf, "chroot %s /bin/sh %s 2>&1", target_prefix(),          if (target_already_root())
             RC_CHECK_SCRIPT);                  collect(T_OUTPUT, &buf, "/bin/sh %s 2>&1", RC_CHECK_SCRIPT);
           else
                   collect(T_OUTPUT, &buf, "chroot %s /bin/sh %s 2>&1",
                                   target_prefix(), RC_CHECK_SCRIPT);
   
   
         unlink(target_expand(RC_CHECK_SCRIPT));          unlink(target_expand(RC_CHECK_SCRIPT));
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>