mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-30 17:24:56 +01:00
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:
28
exportSoftware.sh
Normal file
28
exportSoftware.sh
Normal 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
|
||||||
Reference in New Issue
Block a user