From d7aef43a9d78857ae3412cf57107988356dfdb1b Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 30 Aug 2015 15:19:28 +0100 Subject: b/reproducible_html_specs: Drop -spec suffix from target For example https://reproducible-builds.org/specs/source-date-epoch/ vs https://reproducible-builds.org/specs/source-date-epoch-spec/ There is already a namespace of /specs/ so the suffix is unnecessary. Signed-off-by: Chris Lamb --- bin/reproducible_html_specs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_html_specs.sh b/bin/reproducible_html_specs.sh index 15aa7b46..c8956a2c 100755 --- a/bin/reproducible_html_specs.sh +++ b/bin/reproducible_html_specs.sh @@ -12,7 +12,7 @@ common_init "$@" # build and publish the html version VERSION=$(git log -1 --pretty='%h') SPEC=$1 -TARGET="specs/$SPEC" +TARGET="specs/$(basename $SPEC -spec)" make $SPEC.html mkdir -pv "$BASE/$TARGET" mv -v $SPEC.html "$BASE/$TARGET/index.html" -- cgit v1.2.3-70-g09d2