-
-
Save kaosf/5883381 to your computer and use it in GitHub Desktop.
そのシェルスクリプトのあるディレクトリに移動する ref: http://qiita.com/ka_/items/6e4d1ff9800937a6bd8c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
THIS_FILE_PATH="$PWD/$0" | |
cd ${THIS_FILE_PATH%/*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment