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