changeset 329:e4fedb216119

Making sure whether it runs on ksh
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 21 Oct 2016 18:13:49 +0859
parents d89412dc78a1
children 37fd6d9d5d9b
files s4-funcs.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Fri Oct 21 16:48:37 2016 +0859
+++ b/s4-funcs.sh	Fri Oct 21 18:13:49 2016 +0859
@@ -1159,7 +1159,7 @@
 	    # DO NOT ALLOW Space and '|' in file names
 	    newv=`echo "$v"|sed 's/[ \|]/X/g'`
 	    if [ x"$v" != x"$newv" ]; then
-	      
+	      :
 	    fi
 # (echo k=$k v="[$v]"; ls -lF "$tmpd/$v"; file --mime-type "$tmpd/$v") 1>&3
 	    case `file --mime-type - < "$tmpd/$v"|cut -d' ' -f2` in
@@ -1510,7 +1510,7 @@
   keycond="$3"
   whos="$keycond AND key='profimg' AND type LIKE 'file:image%'
 	 ORDER BY rowid DESC LIMIT 1"
-  [ -d "$dir" ] || mkdir $dir
+  [ -d "$dir" ] || mkdir "$dir"
   case "$4" in
     [Ss]) size=S ;;
     [Oo]) size=O ;;
@@ -1711,7 +1711,7 @@
       echo "</div>"
     fi
   else				# Not My Home ($user != $uname)
-    # DT_SQL=
+    : # DT_SQL=
   fi
   ) > $hometail &		# Is background call safe to m4??
   #

yatex.org