mirror of https://github.com/apache/lucene.git
SOLR-5085: fix script to use proper pdf file name in sha1 checksum file (should not include directory path)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526272 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13111f8435
commit
818b41198b
|
@ -57,7 +57,7 @@ fi
|
||||||
|
|
||||||
PREFIX="apache-solr-ref-guide"
|
PREFIX="apache-solr-ref-guide"
|
||||||
DIR="$PREFIX-$VER_RC"
|
DIR="$PREFIX-$VER_RC"
|
||||||
PDF="$DIR/$PREFIX-$VER.pdf"
|
PDF="$PREFIX-$VER.pdf"
|
||||||
SHA="$PDF.sha1"
|
SHA="$PDF.sha1"
|
||||||
GPG="$PDF.asc"
|
GPG="$PDF.asc"
|
||||||
|
|
||||||
|
@ -77,7 +77,8 @@ fi
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
mkdir $DIR || exit 1
|
mkdir $DIR || exit 1
|
||||||
mv $SRC_FILE $PDF || exit 1
|
mv $SRC_FILE $DIR/$PDF || exit 1
|
||||||
|
cd $DIR || exit 1
|
||||||
sha1sum $PDF > $SHA || exit 1
|
sha1sum $PDF > $SHA || exit 1
|
||||||
gpg $GPG_ID_ARG --armor --output $GPG --detach-sig $PDF|| exit 1
|
gpg $GPG_ID_ARG --armor --output $GPG --detach-sig $PDF|| exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue