Changeset 973 for dassmodus/trunk/dassmodus/packaging/create_rpm_sources.sh
- Timestamp:
- Oct 21, 2011, 1:45:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dassmodus/trunk/dassmodus/packaging/create_rpm_sources.sh
r964 r973 9 9 fi 10 10 11 for PACK in dassmodus nosferatu; do12 11 13 MODULENAME= $PACK12 MODULENAME=nosferatu 14 13 VERSION=$1 15 14 … … 17 16 cp -av ../${MODULENAME}/* python-${MODULENAME}-${VERSION} 18 17 19 # dassmodus package also contains templates20 if [ $1 = dassmodus ]21 then22 cp -av ../templates python-${MODULENAME}-${VERSION}23 fi24 25 18 # copy setup.py file into directory 26 19 cp ${MODULENAME}/setup.py python-${MODULENAME}-${VERSION} 27 20 # remove svn secific files 28 21 find -type d | grep .svn | xargs rm -R 22 29 23 tar cjvf python-${MODULENAME}-${VERSION}.tar.bz2 python-${MODULENAME}-${VERSION} 30 24 rm -Rvf python-${MODULENAME}-${VERSION} 31 25 32 done 26 27 MODULENAME=dassmodus 28 VERSION=$1 29 30 mkdir ${MODULENAME}-${VERSION} 31 cp -av ../${MODULENAME}/* ${MODULENAME}-${VERSION} 32 33 # copy setup.py file into directory 34 cp ${MODULENAME}/setup.py ${MODULENAME}-${VERSION} 35 # remove svn secific files 36 find -type d | grep .svn | xargs rm -R 37 38 # dassmodus package also contains templates 39 cp -av ../templates ${MODULENAME}-${VERSION} 40 41 tar cjvf ${MODULENAME}-${VERSION}.tar.bz2 ${MODULENAME}-${VERSION} 42 rm -Rvf ${MODULENAME}-${VERSION} 43 44
Note:
See TracChangeset
for help on using the changeset viewer.