# HG changeset patch # User HIROSE Yuuji # Date 1503313516 -32373 # Node ID d7b23ad0e2e857092eece00ddc8183c99e0c3389 # Parent eb94fa65ba8391cf4d3b2d211f4e5c9773690116 Variable name error, fixed. diff -r eb94fa65ba83 -r d7b23ad0e2e8 s4-blog.sh --- a/s4-blog.sh Wed Aug 16 16:57:59 2017 +0859 +++ b/s4-blog.sh Mon Aug 21 20:04:49 2017 +0859 @@ -421,7 +421,7 @@ lshandout() { # $1=rowid of blog blog_writable $1 $user - r=$? # =0: writable, $BLOG_NOTMEM bit set => not member + rc=$? # =0: writable, $BLOG_NOTMEM bit set => not member if [ $((rc & $BLOG_NOTMEM)) -gt 0 ] ; then echo "メンバー以外は利用できません。" | html p; return fi @@ -489,7 +489,7 @@ lshandoutall() { # $1=rowid of blog blog_writable $1 $user - r=$? # =0: writable, $BLOG_NOTMEM bit set => not member + rc=$? # =0: writable, $BLOG_NOTMEM bit set => not member if [ $((rc & $BLOG_NOTMEM)) -gt 0 ] ; then echo "メンバー以外は利用できません。" | html p; return fi @@ -597,7 +597,7 @@ gethandout() { # $1=rowid of blog blog_writable $1 $user - r=$? # =0: writable, $BLOG_NOTMEM bit set => not member + rc=$? # =0: writable, $BLOG_NOTMEM bit set => not member if [ $((rc & $BLOG_NOTMEM)) -gt 0 ] ; then echo "メンバー以外は利用できません。" | html p; return fi