diff options
author | Chris Johns <chrisj@rtems.org> | 2017-09-14 01:15:18 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-09-14 01:15:18 +0000 |
commit | 389fec0f12d2de8baef8778abe8613465c977cb2 (patch) | |
tree | ea2bf3104523d5bb6b3479b4b0eef6fe39aad948 | |
parent | c41ecef0f9f8d9b7e70bc411327f693ba85d6596 (diff) |
The new files are part of the script workspace.
-rwxr-xr-x | docs/builder/rtems-docs-publish | 12 |
1 files changed, 11 insertions, 1 deletions
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 @@ -20,6 +20,16 @@ cp=/bin/cp rm=/bin/rm # +# We run where the script is located. +# +cd $(dirname $0) + +# +# Top directory +# +top=$PWD + +# # The current directory. # current=/data/www/docs.rtems.org/branches @@ -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. |