summaryrefslogtreecommitdiffstats
path: root/macros.bashrc
blob: 7e265c696f661d68ab27cc968a0984b6f8018c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

mkdirp()
{
    test -d $1 || mkdir -p $1
}

go()
{
  "$0" "$@"
}

mcd()
{
    test -d $1 || mkdir -p $1
    cd $1
}

notparallel()
{
    echo .NOTPARALLEL: >> Makefile
}

if [ -f $MYDIR/local.conf ]
then
    . $MYDIR/local.conf
fi