Created
January 25, 2014 19:19
-
-
Save meowsus/8621943 to your computer and use it in GitHub Desktop.
This file contains 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
# FIRST ATTEMPT | |
#!/bin/bash | |
AMPPS_DIR='/Applications/AMPPS/www' | |
sudo rm -f $AMPPS_DIR | |
sudo ln -s $1 $AMPPS_DIR | |
# SECOND ATTEMPT | |
#!/bin/bash | |
CURRENT_DIR=$(pwd) | |
AMPPS_DIR='/Ampplications/AMPPS/' | |
cd $AMPPS_DIR | |
sudo rm -f www | |
sudo ln -s $1 www | |
cd $CURRENT_DIR | |
# THIRD ATTEMPT | |
#!/bin/bash | |
CURRENT_DIR=$(pwd) | |
AMPPS_DIR='/Applications/AMPPS/' | |
cd $AMPPS_DIR | |
sudo ln -sFf $1 www | |
cd $CURRENT_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment