Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "Activating the Bin"
- Source=source
- BinActivate=/opt/ia3/bin/activate
- SourceBinActivate=$Source $BinActivate
- if [ pwd == pwd ]
- then
- pwd #Log current directory to console
- sleep 2s
- eval $SourceBinActivate # Run source /opt/ia3/bin/activate
- else
- echo "Error, aborting process"; pwd #exit
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement