Skip to content
Snippets Groups Projects
Commit 37b529f1 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix a bug with running network.sh

parent 03160b7f
No related branches found
No related tags found
1 merge request!68Master merge
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
## Initial Set Up & Clean Up of Past Runs ## Initial Set Up & Clean Up of Past Runs
################################################################################ ################################################################################
# Copy file into folder if it does not already exist
if [ ! -f network.sh ]; then
cp ../network/network.sh .
fi
set -e set -e
rm -fr results.bak || true rm -fr results.bak || true
mv results results.bak || rm -fr results || true mv results results.bak || rm -fr results || true
...@@ -172,3 +177,8 @@ then ...@@ -172,3 +177,8 @@ then
#echo "NOTE: BACKUP CHECK DISABLED, this should be uncommented when turned back on!" #echo "NOTE: BACKUP CHECK DISABLED, this should be uncommented when turned back on!"
#diff -aruN client121BackupDiff.txt noerrors.txt #diff -aruN client121BackupDiff.txt noerrors.txt
fi fi
# Remove the file if it exists
if [ -f network.sh ]; then
rm network.sh
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment