s4

changeset 534:ce6d0f04f520

Do not read s4-funcs.sh twice
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 06 Apr 2019 18:46:10 +0900
parents 52cf1ec90cfa
children d63b9b287ae9
files s4-init.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/s4-init.sh	Sat Apr 06 18:42:14 2019 +0900
     1.2 +++ b/s4-init.sh	Sat Apr 06 18:46:10 2019 +0900
     1.3 @@ -1,5 +1,5 @@
     1.4 -#!/bin/sh
     1.5 -. `dirname $0`/s4-funcs.sh
     1.6 +#!/bin/sh -x
     1.7 +type cgiinit >/dev/null 2.&1 || . `dirname $0`/s4-funcs.sh
     1.8  
     1.9  create() {
    1.10    # $1=type $2=obj $3=defs...