changeset 515:0b47ddf9c8de

Load s4-cgi if necessary
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 04 Apr 2019 10:09:37 +0900
parents fa3f78ce3e26
children 575e321179c3
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Thu Apr 04 10:02:20 2019 +0900
+++ b/s4-funcs.sh	Thu Apr 04 10:09:37 2019 +0900
@@ -55,7 +55,7 @@
   *i[Pp]hone*|*[Aa]ndroid*)	touchpanel=1 ;;
   *)				touchpanel="" ;;
 esac
-. ./s4-cgi.sh
+[ -f ./s4-cgi.sh ] && . ./s4-cgi.sh
 
 : <<EOF
 

yatex.org