Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. echo "Activating the Bin"
  2. Source=source
  3. BinActivate=/opt/ia3/bin/activate
  4. SourceBinActivate=$Source $BinActivate
  5. if [ pwd == pwd ]
  6. then
  7. pwd #Log current directory to console
  8. sleep 2s
  9. eval $SourceBinActivate # Run source /opt/ia3/bin/activate
  10. else
  11. echo "Error, aborting process"; pwd #exit
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement