slsDetectorPackage/exportSoftware.sh
l_maliakal_d 4a47657b9e using force to overwrite when exporting
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@37 08cae9ef-cb74-4d14-b03a-d7ea46f178d7
2012-12-17 08:21:17 +00:00

31 lines
623 B
Bash

# 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 --force $MAINDIRSVN
cd $MAINDIR
svn export --force $LIBDIRSVN
svn export --force $CLIENTDIRSVN
svn export --force $GUIDIRSVN
#create svnInfo.txt
cd $LIBDIR
svn info $LIBDIRSVN > svnInfo.txt
cd ../$GUIDIR
svn info $GUIDIRSVN > svnInfo.txt
exit 0