From 4fc3a074a0dc6524a39c0b1ba3e2f12f26715660 Mon Sep 17 00:00:00 2001 From: notplants Date: Mon, 15 Feb 2021 10:40:22 +0100 Subject: [PATCH] Fix readme --- README.md | 2 +- build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8f6e3e1..9b5a220 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This script requires the latest version of vmdb2 which is not currently availabl After installing the above, clone the vmdb2 repository and add it to your path. ```shell git clone https://gitlab.com/larswirzenius/vmdb2.git -cd vmdb2; ln -s vmdb2 /usr/local/bin/vmdb2 +cd vmdb2; ln -s ${PWD}/vmdb2 /usr/local/bin/vmdb2 ``` ## To Build A New Image diff --git a/build.sh b/build.sh index f68e4d9..7c819b4 100755 --- a/build.sh +++ b/build.sh @@ -4,9 +4,9 @@ rm -f raspi_3.log make raspi_3.img # copy to releases -echo "++ successful image build, copying output to releases" -TODAY=$(date +"%y%m%d") +TODAY=$(date +"%Y%m%d") RELEASE_DIR=/var/www/releases.peachcloud.org/html/peach-imgs/$TODAY +echo "++ successful image build, copying output to ${RELEASE_DIR}" mkdir -p $RELEASE_DIR cp raspi_3.img $RELEASE_DIR/${TODAY}_peach_raspi3.img cp raspi_3.log $RELEASE_DIR/${TODAY}_peach_raspi3.log \ No newline at end of file