Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
===== scriptがあるディレクトリの絶対パスをとる =====
FILE_DIR=$(cd $(dirname $BASH_SOURCE); pwd)
* $BASH_SOURCE : scriptの絶対パス
* cd しているが、scriptの処理が終わった後には元のdirectoryに戻っている