source: finroc/scripts/astyle @ 407:1a3d87c3c61a

14.08
Last change on this file since 407:1a3d87c3c61a was 407:1a3d87c3c61a, checked in by Tobias Föhst <foehst@…>, 19 months ago

Bringing own version of astyle to allow another one installed on the system

  • Property exe set to *
File size: 335 bytes
Line 
1#!/bin/bash -e
2
3function build
4{
5    mkdir -p "$FINROC_HOME/build"
6    cd "$FINROC_HOME/build"
7    tar -xzf "$FINROC_HOME/scripts/tools/astyle_2.03.tar.gz"
8    cd astyle
9    make -j -C build/gcc astyle > /dev/null
10}
11
12[ -e "$FINROC_HOME/build/astyle/build/gcc/bin/astyle" ] || build
13
14"$FINROC_HOME/build/astyle/build/gcc/bin/astyle" $@
Note: See TracBrowser for help on using the repository browser.