File tree Expand file tree Collapse file tree 6 files changed +18
-7
lines changed Expand file tree Collapse file tree 6 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 42
42
SCRIPT_WORKING_DIR=$( pwd)
43
43
REPO_DIR=$SCRIPT_WORKING_DIR /Alfresco
44
44
DEPLOY_DIR=$REPO_DIR /__dist__
45
- OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
45
+ if [ -z " $OUTPUT_DIR " ]; then
46
+ OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
47
+ fi
46
48
47
49
if [[ ! -d $REPO_DIR ]]; then
48
50
# The next two statements are commented out, because they access the old
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ SCRIPT_WORKING_DIR=$(pwd)
12
12
REPO_DIR=$SCRIPT_WORKING_DIR /CiteSeerX
13
13
DEPLOY_DIR=$REPO_DIR
14
14
FILES_DIR=$SCRIPT_WORKING_DIR /CiteSeerX_files
15
- OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
15
+ if [ -z " $OUTPUT_DIR " ]; then
16
+ OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
+ fi
16
18
17
19
if [[ ! -d $REPO_DIR ]]; then
18
20
# Clone repo and check out a commit which builds (head of master)
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ SCRIPT_WORKING_DIR=$(pwd)
12
12
REPO_DIR=$SCRIPT_WORKING_DIR /DSpace
13
13
DEPLOY_DIR=$REPO_DIR
14
14
FILES_DIR=$SCRIPT_WORKING_DIR /DSpace_files
15
- OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
15
+ if [ -z " $OUTPUT_DIR " ]; then
16
+ OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
+ fi
16
18
17
19
if [[ ! -d $REPO_DIR ]]; then
18
20
# 1. Open a terminal in the directory of this readme file and clone DSpace:
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ SCRIPT_WORKING_DIR=$(pwd)
12
12
REPO_DIR=$SCRIPT_WORKING_DIR /Ginco
13
13
DEPLOY_DIR=$REPO_DIR /__dist__
14
14
FILES_DIR=$SCRIPT_WORKING_DIR /Ginco_files
15
- OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
15
+ if [ -z " $OUTPUT_DIR " ]; then
16
+ OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
+ fi
16
18
17
19
if [[ ! -d $REPO_DIR ]]; then
18
20
mkdir -p $REPO_DIR
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ SCRIPT_WORKING_DIR=$(pwd)
12
12
REPO_DIR=$SCRIPT_WORKING_DIR /Sakai
13
13
DEPLOY_DIR=$REPO_DIR /__dist__
14
14
FILES_DIR=$SCRIPT_WORKING_DIR /Sakai_files
15
- OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
16
-
15
+ if [ -z " $OUTPUT_DIR " ]; then
16
+ OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
17
+ fi
17
18
18
19
if [[ ! -d $REPO_DIR ]]; then
19
20
# Clone repo and check out a commit which builds (head of master)
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ REPO_DIR=$SCRIPT_WORKING_DIR/WebGoat
16
16
DEPLOY_DIR=$REPO_DIR
17
17
FILES_DIR=$SCRIPT_WORKING_DIR /WebGoat_files
18
18
MODELS_LIB_DIR=$SCRIPT_WORKING_DIR /../LIBRARIES/models
19
- OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
19
+ if [ -z " $OUTPUT_DIR " ]; then
20
+ OUTPUT_DIR=$SECURITY_SCANNER_HOME /GENUINE
21
+ fi
20
22
21
23
if [[ ! -d $REPO_DIR ]]; then
22
24
# 1. git https://github.com/WebGoat/WebGoat.git
You can’t perform that action at this time.
0 commit comments