On 05/12/2018 02:39 PM, Matt Darfeuille wrote: > Signed-off-by: Matt Darfeuille <matd...@gmail.com> > --- > build/release | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/build/release b/build/release > index 6bb7a482..2aea672d 100755 > --- a/build/release > +++ b/build/release > @@ -311,6 +311,8 @@ if ! grep "$VERSION"; then > fatal_error "File $WEBDIR/index.html does not contain \"${VERSION}\"." > fi > > +[ -f "$WEBDIR/index.html" -a -f "$TOOLSDIR/web/publish" ] && > $TOOLSDIR/web/publish index.html > + > if [ -z "$GIT_CODE_OBJECT" -a -z "$GIT_RELEASE_OBJECT" ]; then > create_tag $GIT > create_tag $GITRELEASEDIR >
I think that you wanted to publish "$WEBDIR/intex.html" rather than "index.html", but a 'feature' of $TOOLSDIR/web/publish is that it uses $PWD to determine where on the website to place the published file(s). So it is best to pushd $WEBDIR publish index.html popd Thanks, -Tom -- Tom Eastep \ Q: What do you get when you cross a mobster with Shoreline, \ an international standard? Washington, USA \ A: Someone who makes you an offer you can't http://shorewall.org \ understand \_______________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Shorewall-devel mailing list Shorewall-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-devel