Created
May 8, 2018 04:07
-
-
Save luojiyin1987/10ecdc4c758d7aff178d207a4857b17f to your computer and use it in GitHub Desktop.
link.sh
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
| if [[ $create_soft_link == "" ]]; then | |
| cur_dir=$( pwd ) | |
| printf "$cur_dir/setup.sh\n" | |
| ln -s "$cur_dir"/setup.sh /usr/local/bin/setup || printf "${red} create setup link fail${plain}\n" | |
| else | |
| printf "${yellow}Not create setup.sh soft link ${plain}\n" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment