LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File update.sh of Package trac-plugin-wikiprint (Project devel:tools:scm)

#! /bin/bash

NAME=wikiprint
svn co http://trac-hacks.org/svn/tracwikiprintplugin/0.11 ${NAME}_
osc rm $NAME-*.tar.bz2
pushd ${NAME}_
cat setup.py
svn export . ../$NAME
rev=`svn up | sed 's/[^0-9]*\([0-9]\+\).*/\1/'`
ARC=$NAME-r$rev.tar.bz2
popd
tar -cjf $ARC $NAME
rm -rf ${NAME}_ $NAME
osc add $ARC