summaryrefslogtreecommitdiff
path: root/desktop/mcwm/extractconfig.sh
blob: ef819599964c22b510a0b063ccb7a2e624300ffc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

PRGNAM=mcwm

source ./$PRGNAM.info || exit 1

SRCVER=${VERSION/_/-}

[ -e config.h ] && mv -b config.h config.h.old
tar xvfO $PRGNAM-$SRCVER.tar.bz2 --wildcards \*/config.h > config.h