#!/bin/bash

if [ "$CXX" = "g++" ]; then
  chmod +x misc/gcc_update.sh
  ./misc/gcc_update.sh --version 4.9
fi

if [ "$CXX" = "clang++" ]; then
  chmod +x misc/clang_update.sh
  ./misc/clang_update.sh --version 3.5 --libc++
fi

#!/bin/bash -e

if [ "$CXX" = "g++" ]; then
  chmod +x misc/travis/cpp/gcc_update.sh
  ./misc/travis/cpp/gcc_update.sh --version 4.9
fi

if [ "$CXX" = "clang++" ]; then
  chmod +x misc/travis/cpp/clang_update.sh
  ./misc/travis/cpp/clang_update.sh --version 3.5 --libc++
fi

Correct path for misc scripts.
Correct path for misc scripts.
