Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. > #!/bin/bash ID=$$ cat .xmipp.bashrc |grep XMIPP_HOME= |cut -d "=" -f 1 |sed -e "s/XMIPP_HOME/XMIPP_HOME=$(pwd | sed -e 's///\//g')/g" >
  2. > /tmp/xmipp_binary_creating_${ID} && cat $(pwd)/.xmipp.bashrc |egrep -v
  3. > ".xmipp.cfg|XMIPP_HOME=|^#" >> /tmp/xmipp_binary_creating_${ID} &&
  4. > echo "test -s $(pwd)/.xmipp.cfg && . $(pwd)/.xmipp.cfg || true" >>
  5. > /tmp/xmipp_binary_creating_${ID} && mv
  6. > /tmp/xmipp_binary_creating_${ID} $(pwd)/.xmipp.bashrc && source
  7. > $(pwd)/.xmipp.bashrc && echo 'Xmipp3.0 binaries have been succesfully
  8. > installed in your system. Please, put a source to .xmipp.bashrc file
  9. > in your .bashrc file. Just for this session, .xmipp.bashrc has been
  10. > already sourced, so if you executed the install_binaries.sh script
  11. > with source or . changes will be applied to this shell and so, you
  12. > should be able to execute xmipp from this terminal. If you did it with
  13. > ./install_binaries.sh its time to source .xmipp.bashrc manually to
  14. > have xmipp working in this shell session.'
  15.  
  16. xcompile gtest=yes run_tests
  17.  
  18. cd ~/Desktop/xcompile gtest=yes run_tests
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement