Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > #!/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" >
- > /tmp/xmipp_binary_creating_${ID} && cat $(pwd)/.xmipp.bashrc |egrep -v
- > ".xmipp.cfg|XMIPP_HOME=|^#" >> /tmp/xmipp_binary_creating_${ID} &&
- > echo "test -s $(pwd)/.xmipp.cfg && . $(pwd)/.xmipp.cfg || true" >>
- > /tmp/xmipp_binary_creating_${ID} && mv
- > /tmp/xmipp_binary_creating_${ID} $(pwd)/.xmipp.bashrc && source
- > $(pwd)/.xmipp.bashrc && echo 'Xmipp3.0 binaries have been succesfully
- > installed in your system. Please, put a source to .xmipp.bashrc file
- > in your .bashrc file. Just for this session, .xmipp.bashrc has been
- > already sourced, so if you executed the install_binaries.sh script
- > with source or . changes will be applied to this shell and so, you
- > should be able to execute xmipp from this terminal. If you did it with
- > ./install_binaries.sh its time to source .xmipp.bashrc manually to
- > have xmipp working in this shell session.'
- xcompile gtest=yes run_tests
- cd ~/Desktop/xcompile gtest=yes run_tests
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement