5 if [ ! -f $CONFIG ]; then
6 echo Configuration missing: $CONFIG
7 echo Please set the following variables in $CONFIG
8 echo in you current directory:
10 echo 'VERSION=x.y.z #use desired version'
11 echo 'BRANCH="master" #or e.g. "maintained-release"'
12 echo 'REMOTE="sf" #depending on your git configuration'
23 echo "Getting sources for: vym"
24 echo " Branch: $BRANCH"
25 echo " Branch: $VERSION"
26 echo " Working directory: $OLDDIR"
31 BINDIR=$OLDDIR/binaries
34 echo Creating $BINDIR...
37 echo Remove current content from $BINDIR...
40 echo Copy README.txt INSTALL.txt LICENCSE.txt...
41 cp $SRCDIR/README.txt $SRCDIR/INSTALL.txt $SRCDIR/LICENSE.txt $BINDIR
44 cp $DOCDIR/*.pdf $BINDIR
46 echo Copy source tarball
47 cp $OLDDIR/vym-$VERSION.tar.bz2 $BINDIR
49 echo Get binaries from OBS
50 osc getbinaries xUbuntu_11.10 i586
51 osc getbinaries xUbuntu_11.10 x86_64
52 osc getbinaries openSUSE_12.1 i586
53 osc getbinaries openSUSE_12.1 x86_64
56 rm $BINDIR/rpmlint.log