Skip to content

Commit 59eaa71

Browse files
author
Owen Jones
committed
Must make non-existent directory before moving into it
1 parent 919904e commit 59eaa71

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

benchmarks/GENUINE/Alfresco.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ if [[ ! -d $REPO_DIR ]]; then
5252
# git checkout 5fcc93f009c6fb8578e87e79dc19a44309210602
5353

5454
# We are checking out the revision in which we know about the issue.
55+
mkdir -p $REPO_DIR
5556
cd $REPO_DIR
5657
svn checkout -r 74720 https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root .
5758

benchmarks/GENUINE/CiteSeerX.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ OUTPUT_DIR=$SECURITY_SCANNER_HOME/GENUINE
1616

1717
if [[ ! -d $REPO_DIR ]]; then
1818
# Clone repo and check out a commit which builds (head of master)
19+
mkdir -p $REPO_DIR
1920
cd $REPO_DIR
2021
git clone https://github.com/SeerLabs/CiteSeerX.git .
2122
git checkout 8a62545ffc904f2b41b4ecd30ce91900dc7790f4

benchmarks/GENUINE/DSpace.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ OUTPUT_DIR=$SECURITY_SCANNER_HOME/GENUINE
1616

1717
if [[ ! -d $REPO_DIR ]]; then
1818
# 1. Open a terminal in the directory of this readme file and clone DSpace:
19+
mkdir -p $REPO_DIR
1920
cd $REPO_DIR
2021
git clone https://github.com/DSpace/DSpace .
2122

benchmarks/GENUINE/Ginco.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ FILES_DIR=$SCRIPT_WORKING_DIR/Ginco_files
1515
OUTPUT_DIR=$SECURITY_SCANNER_HOME/GENUINE
1616

1717
if [[ ! -d $REPO_DIR ]]; then
18+
mkdir -p $REPO_DIR
1819
cd $REPO_DIR
1920
git clone https://github.com/culturecommunication/ginco .
2021

benchmarks/GENUINE/Sakai.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ OUTPUT_DIR=$SECURITY_SCANNER_HOME/GENUINE
1717

1818
if [[ ! -d $REPO_DIR ]]; then
1919
# Clone repo and check out a commit which builds (head of master)
20+
mkdir -p $REPO_DIR
2021
cd $REPO_DIR
2122
git clone https://github.com/sakaiproject/sakai.git .
2223
git checkout f333f0c

benchmarks/GENUINE/WebGoat.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ OUTPUT_DIR=$SECURITY_SCANNER_HOME/GENUINE
2121
if [[ ! -d $REPO_DIR ]]; then
2222
# 1. git https://github.com/WebGoat/WebGoat.git
2323
# 2. cd WebGoat
24+
mkdir -p $REPO_DIR
2425
cd $REPO_DIR
2526
git clone https://github.com/WebGoat/WebGoat.git .
2627

0 commit comments

Comments
 (0)