added exportsoftware script which exports software and creates the svninfo.txt file for slsdetectorsoftware. others to be implemented

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@35 08cae9ef-cb74-4d14-b03a-d7ea46f178d7
This commit is contained in:
l_maliakal_d 2012-12-14 12:56:49 +00:00
parent 824e4458ec
commit df144d90f1

28
exportSoftware.sh Normal file
View File

@ -0,0 +1,28 @@
# Script to create svnInfo.txt files and export software
#folders
MAINDIR=newMythenSoftware
LIBDIR=slsDetectorSoftware
CLIENTDIR=slsDetectorClient
GUIDIR=slsDetectorGuiOriginal
SVNPATH=file:///afs/psi.ch/project/sls_det_software/svn
MAINDIRSVN=$SVNPATH/$MAINDIR
LIBDIRSVN=$SVNPATH/$LIBDIR
CLIENTDIRSVN=$SVNPATH/$CLIENTDIR
GUIDIRSVN=$SVNPATH/$GUIDIR
#export
svn export $MAINDIRSVN
cd $MAINDIR
svn export $LIBDIRSVN
svn export $CLIENTDIRSVN
svn export $GUIDIRSVN
#create svnInfo.txt
cd $LIBDIR
svn info $LIBDIRSVN > svnInfo.txt
exit 0