forked from areaDetector/areaDetector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeADStandaloneTar
executable file
·35 lines (35 loc) · 1.14 KB
/
makeADStandaloneTar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This script takes 2 parameters.
# 1 - The name of the detector (ADProsilica, etc.)
# 2 - The version number (R2-0, etc.)
#
find . -name 'auto_settings.sav_*' -exec rm -fv {} \;
find . -name 'core.*' -exec rm -fv {} \;
cd ..
tar cvzf /home/epics/public_html/pub/areaDetectorPrebuilt_$1_$2.tgz --exclude '.svn*' \
areaDetector-2-0/ADCore/bin \
areaDetector-2-0/ADCore/dbd \
areaDetector-2-0/ADCore/db \
areaDetector-2-0/ADCore/documentation \
areaDetector-2-0/ADCore/ADApp/Db \
areaDetector-2-0/ADCore/ADApp/op \
areaDetector-2-0/ADCore/iocBoot \
areaDetector-2-0/ADCore/Viewers \
areaDetector-2-0/ADCore/iocs/simDetectorIOC/bin \
areaDetector-2-0/ADCore/iocs/simDetectorIOC/dbd \
areaDetector-2-0/ADCore/iocs/simDetectorIOC/iocBoot \
areaDetector-2-0/$1/db \
areaDetector-2-0/$1/*/Db \
areaDetector-2-0/$1/*/op \
areaDetector-2-0/$1/documentation \
areaDetector-2-0/$1/iocs/*IOC/bin \
areaDetector-2-0/$1/iocs/*IOC/dbd \
areaDetector-2-0/$1/iocs/*IOC/db \
areaDetector-2-0/$1/iocs/*IOC/iocBoot \
asyn-4-22/opi \
asyn-4-22/db \
autosave-5-1/asApp/Db \
autosave-5-1/asApp/op \
calc-3-2/calcApp/Db \
calc-3-2/calcApp/op \
sscan-2-9/sscanApp/Db \
sscan-2-9/sscanApp/op