s4

diff sendmultipart.sh @ 556:4a33f5424767

Bring div.topmenu ul to z-index=5
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 13 Apr 2019 18:28:20 +0900
parents 1bc7cc7487dc
children d764faf9194c
line diff
     1.1 --- a/sendmultipart.sh	Mon Aug 03 18:40:56 2015 +0900
     1.2 +++ b/sendmultipart.sh	Sat Apr 13 18:28:20 2019 +0900
     1.3 @@ -3,7 +3,7 @@
     1.4  # (C)2012,2015 by HIROSE Yuuji [yuuji(at)yatex.org]
     1.5  # You can obtain the latest version of this script from:
     1.6  #   http://www.gentei.org/~yuuji/software/sendmultipart.sh
     1.7 -# Last modified Mon Aug  3 18:40:15 2015 on firestorm
     1.8 +# Last modified Fri Oct 21 10:37:19 2016 on firestorm
     1.9  #
    1.10  # Typical usage:
    1.11  #  echo "Hi, here's photo I've taken.  Enjoy" | \
    1.12 @@ -110,7 +110,7 @@
    1.13  	;;
    1.14        *)
    1.15  	echo -n "Content-Type: "
    1.16 -	file --mime-type $file | cut -d' ' -f2
    1.17 +	file --mime-type - < "$file" | cut -d' ' -f2
    1.18  	echo "Content-Transfer-Encoding: base64"
    1.19  	echo "Content-Disposition: inline; filename=\"$file\""
    1.20  	echo