#!/bin/sh # Copyright (c) 2013, Gilles Caulier, # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. # # Copy this script on root folder where are source code # # See this url to see how to prepare your computer with Coverity SCAN tool: # http://scan.coverity.com/self-build/ cd .. # Manage build sub-dir if [ -d "build" ]; then rm -rfv ./build fi ./bootstrap.linux # Get active svn branch path to create SCAN import description string svn info |grep "URL" | | sed -e "s/URL/BRANCH/g" > ./build/svn_branch.txt desc=$(