Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #!/bin/sh
  2. set -e
  3.  
  4. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  5.  
  6. INSTALLDIR="${VITASDK:-/usr/local/vitasdk}"
  7.  
  8. . $DIR/include/install-vitasdk.sh
  9.  
  10. if [ -d "$INSTALLDIR" ]; then
  11. echo "$INSTALLDIR already exists. Remove it first (e.g. 'sudo rm -rf $INSTALLDIR' or 'rm -rf $INSTALLDIR') and then restart this script"
  12. exit 1
  13. fi
  14.  
  15. echo "==> Installing vitasdk to $INSTALLDIR"
  16. install_vitasdk $INSTALLDIR
  17.  
  18. echo "Please add the following to the bottom of your .bashrc:"
  19. printf "\033[0;36m""export VITASDK=${INSTALLDIR}""\033[0m\n"
  20. printf "\033[0;36m"'export PATH=$VITASDK/bin:$PATH'"\033[0m\n"
  21. echo "and then restart your terminal"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement