#!/bin/bash # # bootstrap_shells: # # This script creates the directory for auto-generated scripts and gets # the current account ready to use YETI. # # Note: this does not yet ensure that the YETI profile is executed on # shell startup. that can be added manually by editing your .bashrc file. # read the bashrc_user file for more details. export YETI_DIR=$HOME/yeti export SHELLDIR=$YETI_DIR/shells export GENERADIR=$HOME/.auto_gen if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then # assume they are using windoze. export YETI_DIR=c:/yeti export SHELLDIR=$YETI_DIR/shells export GENERADIR=$TMP/auto_gen fi perl $SHELLDIR/generate_aliases.pl perl $SHELLDIR/copy_variables.pl # set exec attributes on our shipped binaries. chmod 755 $YETI_DIR/bin/*/* chmod 755 $YETI_DIR/msys/bin/*