From 389fec0f12d2de8baef8778abe8613465c977cb2 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 14 Sep 2017 01:15:18 +0000 Subject: The new files are part of the script workspace. --- docs/builder/rtems-docs-publish | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/builder/rtems-docs-publish b/docs/builder/rtems-docs-publish index d8a5f30..a97876c 100755 --- a/docs/builder/rtems-docs-publish +++ b/docs/builder/rtems-docs-publish @@ -19,6 +19,16 @@ set -e cp=/bin/cp rm=/bin/rm +# +# We run where the script is located. +# +cd $(dirname $0) + +# +# Top directory +# +top=$PWD + # # The current directory. # @@ -27,7 +37,7 @@ current=/data/www/docs.rtems.org/branches # # The new docs # -new=/usr/home/chrisj/docs/latest/new +new=${top}/latest/new # # If there is a new directory we have something to publsh. -- cgit v1.2.3