File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,16 @@ function fatal_error() {
32
32
}
33
33
34
34
if [[ $# -lt 2 ]]; then
35
- fatal_error " Usage: $0 <compat|easybuild|banalbuild|config > </scratch/path/to/workdir>"
35
+ fatal_error " Usage: $0 <compat|easybuild> </scratch/path/to/workdir>"
36
36
fi
37
37
38
38
content_type=$1
39
39
workdir=$2
40
40
41
41
# Check if the content-type is compat, easybuild, or config
42
- if [ " ${content_type} " != " compat" ] && [ " ${content_type} " != " easybuild" ] && [ " ${content_type} " != " config " ] && [ " ${content_type} " != " banalbuild " ]
42
+ if [ " ${content_type} " != " compat" ] && [ " ${content_type} " != " easybuild" ]
43
43
then
44
- fatal_error " Content type should be either compat, easybuild, banalbuild or config. "
44
+ fatal_error " Content type should be either compat or easybuild "
45
45
fi
46
46
47
47
if [[ -z " $CCR_VERSION " ]]; then
55
55
fi
56
56
57
57
overlay_upper_dir=" ${workdir} /overlay-upper"
58
+ if [ ! -d ${overlay_upper_dir} ] && [ -d " ${workdir} /cvmfs/soft.ccr.buffalo.edu" ]; then
59
+ overlay_upper_dir=" ${workdir} /cvmfs/soft.ccr.buffalo.edu"
60
+ fi
61
+
58
62
dir_overlay=" ${overlay_upper_dir} /versions/${CCR_VERSION} /${content_type} "
59
63
60
64
if [ ! -d ${dir_overlay} ]; then
You can’t perform that action at this time.
0 commit comments