record the foldername we put the results in, for use elsewhere

This commit is contained in:
David Buzz 2017-12-24 05:52:45 +00:00 committed by Buzz
parent 329f1fc139
commit 69859d4de6

View File

@ -97,7 +97,9 @@ fi
# Copy the relevant files to a date/time stamped completed directory in the git repo folder for easy access (on git ignore list).
# Make an MD5sum of each as is required for the Solo and Controller to accept the files.
# The tar.gz and the .md5 go directly in the /log/updates/ directory on the solo and/or controller.
NEW_DIR=/vagrant/binaries/"completed_$(date +%F_%H-%M)"
COMP="completed_$(date +%F_%H-%M)"
NEW_DIR=/vagrant/binaries/$COMP
echo $COMP > /tmp/COMP.txt
mkdir -p $NEW_DIR
cd $NEW_DIR