From 20c55a93a0acaa7dcda8828a18e3e295502cb38d Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 11 Nov 2015 13:47:36 +0000 Subject: [PATCH] Confluence: re-order API example pages (C last) --- confluence/load_examples.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/confluence/load_examples.pl b/confluence/load_examples.pl index fc0ba80e9..d3e56cf30 100755 --- a/confluence/load_examples.pl +++ b/confluence/load_examples.pl @@ -10,7 +10,7 @@ use strict; #The root page of examples in confluence!!! my $rootPage="API examples"; -my @langKeys=("c","f","p"); +my @langKeys=("f","p","c"); my %langName = ("f" => "Fortran 90", "c" => "C", @@ -30,6 +30,8 @@ my %langDir = ("f" => "F90", my $CONF=$ENV{CONF}; +die "Env var CONF should point to confluence.sh script" if ( $CONF == "" || ! -f "$CONF" ); + my $inRootDir; #---------------------------------