Commit b2743615 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Only create symlink if not there already.

parent ddb9f6ae
......@@ -65,5 +65,5 @@ mv ${TMPCFG} $HOME/.bashrc.taste
if [ -f /opt/rtems-4.12/bin/sparc-rtems4.12-gcc ] ; then \
/opt/rtems-4.12/bin/sparc-rtems4.12-gcc -v 2>&1 | \
grep 4f3b8da031e42d126afd94d17582123f66b78a68 && \
{ cd /opt ; sudo ln -s rtems-4.12 rtems-4.11.2-SMP-FPU-2017.07.13 ; }
{ cd /opt ; [ ! -h rtems-4.11.2-SMP-FPU-2017.07.13 ] && sudo ln -s rtems-4.12 rtems-4.11.2-SMP-FPU-2017.07.13 ; }
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment