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
# Setup installation directory | |
mkdir install | |
# Create an environment setup shell file for sourcing | |
# Make it so that it can be repeated with no ill effects | |
cat >setup-vars.inc.sh <<EOF | |
if [ ".\$perl6_prefix" = "." ]; then | |
export perl6_prefix=`pwd`/install | |
export PATH=\$perl6_prefix/bin:\$PATH | |
fi |