s4
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 diff
1.1 --- a/s4-funcs.sh Fri Oct 21 16:48:37 2016 +0859 1.2 +++ b/s4-funcs.sh Fri Oct 21 18:13:49 2016 +0859 1.3 @@ -1159,7 +1159,7 @@ 1.4 # DO NOT ALLOW Space and '|' in file names 1.5 newv=`echo "$v"|sed 's/[ \|]/X/g'` 1.6 if [ x"$v" != x"$newv" ]; then 1.7 - 1.8 + : 1.9 fi 1.10 # (echo k=$k v="[$v]"; ls -lF "$tmpd/$v"; file --mime-type "$tmpd/$v") 1>&3 1.11 case `file --mime-type - < "$tmpd/$v"|cut -d' ' -f2` in 1.12 @@ -1510,7 +1510,7 @@ 1.13 keycond="$3" 1.14 whos="$keycond AND key='profimg' AND type LIKE 'file:image%' 1.15 ORDER BY rowid DESC LIMIT 1" 1.16 - [ -d "$dir" ] || mkdir $dir 1.17 + [ -d "$dir" ] || mkdir "$dir" 1.18 case "$4" in 1.19 [Ss]) size=S ;; 1.20 [Oo]) size=O ;; 1.21 @@ -1711,7 +1711,7 @@ 1.22 echo "</div>" 1.23 fi 1.24 else # Not My Home ($user != $uname) 1.25 - # DT_SQL= 1.26 + : # DT_SQL= 1.27 fi 1.28 ) > $hometail & # Is background call safe to m4?? 1.29 #