Codebase list kbuild / c164ca7
Update orig-tar script Gianfranco Costamagna 1 year, 14 days ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
33
44 SVNROOT=$1
55 VERSION=$2
6 REVISION=`svn info $SVNROOT | grep "Last Changed Rev:" | cut -d' ' -f4`
6 REVISION=`svn info ${SVNROOT} | grep "Last Changed Rev:" | cut -d' ' -f4`
77
8 DIR=kbuild-$REVISION
9 TAR=../kbuild_$VERSION.orig.tar.gz
8 DIR=kbuild-${REVISION}
9 TAR=../kbuild_${VERSION}.orig.tar.gz
1010
11 svn co -r $REVISION $SVNROOT $DIR
12 tar -c -z --exclude '*/src/kWorker/tests-gpl2/*' --exclude '*/kBuild/bin*' --exclude '*/out/*' --exclude '*/.svn*' --exclude '*/src/kmk/doc/make.texi' -f $TAR $DIR
13 rm -rf $DIR
11 svn co -r ${REVISION} ${SVNROOT} ${DIR}
12 tar -c -z --exclude '*/src/kWorker/tests-gpl2/*' --exclude '*/kBuild/bin*' --exclude '*/out/*' --exclude '*/.svn*' --exclude '*/src/kmk/doc/make.texi' -f ${TAR} ${DIR}
13 rm -rf ${DIR}
1414
1515 # move to directory 'tarballs'
1616 if [ -r .svn/deb-layout ]; then
1717 . .svn/deb-layout
18 mv $TAR $origDir
19 echo "moved $TAR to $origDir"
18 mv ${TAR} ${origDir}
19 echo "moved ${TAR} to ${origDir}"
2020 fi