X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=maybe-rerun-optim;h=931664d4ae3240ddbed4b1a733d05f89f21d4c1a;hb=80d5c2f420e30982360cd7398e63898e05111c9f;hp=ce28614a7b6ab9a71e29aeb5bf76ed9fc5d6c976;hpb=1120c1a5bfc83ad596fe739122b3c16c222d267b;p=pandemic-rising-tide.git diff --git a/maybe-rerun-optim b/maybe-rerun-optim index ce28614..931664d 100755 --- a/maybe-rerun-optim +++ b/maybe-rerun-optim @@ -1,4 +1,42 @@ #!/bin/bash +# +# maybe-rerun-optim - helper for build system for board layouts +# +# Copyright (C) 2019 Ian Jackson +# +# This program is dual licensed, GPv3+ or CC-BY-SA 4.0+. +# Only to the Pandemic Rising Tide folks, it is permissively licensed. +# +# This program is free software. +# +# You can redistribute it and/or modify it under the terms of the +# GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) +# any later version; or (at your option), under the terms of the +# Creative Commons Attribution-ShareAlike International License, +# version 4.0 of that License, or (at your option), any later +# version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License Creative Commons Attribution-ShareAlike +# License or the for more details. +# +# You should have received a copy of these licenses along with this +# program. If not, see and +# . +# +# Pandemic and Pandemic Rising Tide are (I think) trademarks of Z-Man +# games and I use them without permission. +# +# For the avoidance of doubt, I do not consider this program to be a +# derivative work of the game Pandemic Rising Tide. However, it is +# not very useful without a pair of game description files and the +# only nontrivial game description files I know of are indeed such +# derivatives. + + set -e set -o posix set -o pipefail @@ -24,3 +62,6 @@ if cmp $sums.tmp $sums; then fi "$planar_graph" <$input "$@" + +inst +mv -f $sums.tmp $sums