perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / shell / pconsole / patches / pconsole.sh.in.patch
blob91608c5412624d72c46edd92ba6ca4fcff8871bd
1 *** pconsole-1.0/pconsole.sh.in.orig Fri Jul 15 07:04:26 2011
2 --- pconsole-1.0/pconsole.sh.in Fri Jul 15 12:17:18 2011
3 ***************
4 *** 1,4 ****
5 ! #! /bin/sh
7 # pconsole WJ101
8 # Copyright (C) 2001 Walter de Jong <walter@heiho.net>
9 --- 1,4 ----
10 ! #! /bin/bash
12 # pconsole WJ101
13 # Copyright (C) 2001 Walter de Jong <walter@heiho.net>
14 ***************
15 *** 31,41 ****
16 set -x
19 ! PATH=/bin:/usr/bin:/usr/bin/X11:/usr/openwin/bin:/usr/local/bin:/usr/bsd:/usr/share/bin:/opt/bin:/etc:/usr/etc
21 prefix=@prefix@
22 exec_prefix=@exec_prefix@
23 bindir=@bindir@
26 # options: you can overrule these by setting them in your environment
27 --- 31,42 ----
28 set -x
31 ! PATH=/usr/sbin:/usr/bin:/etc
33 prefix=@prefix@
34 exec_prefix=@exec_prefix@
35 bindir=@bindir@
36 + sbindir=@sbindir@
39 # options: you can overrule these by setting them in your environment
40 ***************
41 *** 50,56 ****
43 if [ -z "${P_CONNECT_CMD}" ]
44 then
45 ! P_CONNECT_CMD="${bindir}/ssh.sh"
47 if [ -z "${P_CONSOLE_OPTIONS}" ]
48 then
49 --- 51,57 ----
51 if [ -z "${P_CONNECT_CMD}" ]
52 then
53 ! P_CONNECT_CMD="/usr/share/doc/pconsole/ssh.sh"
55 if [ -z "${P_CONSOLE_OPTIONS}" ]
56 then
57 ***************
58 *** 145,151 ****
59 done
61 # start pconsole
62 ! ${P_TERM} ${P_CONSOLE_OPTIONS} -title pconsole -name pconsole -e "${bindir}/pconsole" ${TTYS}
64 # terminate all open windows
65 if [ ! -z "${PIDLIST}" ]
66 --- 146,152 ----
67 done
69 # start pconsole
70 ! ${P_TERM} ${P_CONSOLE_OPTIONS} -title pconsole -name pconsole -e ${bindir}/pfexec "${sbindir}/pconsole-bin" ${TTYS}
72 # terminate all open windows
73 if [ ! -z "${PIDLIST}" ]