openbsd-ports/print/hplip/patches/patch-base_pexpect_py
sthen 44b5f40001 minor tweaks to hplip, ok ajacoutot@
- use rc.d/httpd rather than apachectl
- MODPY_BIN in the new config_usb_printer.py
- comment tyops
2012-06-26 11:17:54 +00:00

13 lines
554 B
Plaintext

$OpenBSD: patch-base_pexpect_py,v 1.2 2012/06/26 11:17:54 sthen Exp $
--- base/pexpect.py.orig Thu Jul 2 17:31:51 2009
+++ base/pexpect.py Thu Jul 2 17:32:39 2009
@@ -142,7 +142,7 @@ def run (command, timeout=-1, withexitstatus=False, ev
Examples:
Start the apache daemon on the local machine:
from pexpect import *
- run ("/usr/local/apache/bin/apachectl start")
+ run ("/etc/rc.d/httpd -f start")
Check in a file using SVN:
from pexpect import *
run ("svn ci -m 'automatic commit' my_file.py")