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:
Chris M. Hostetter 2013-09-25 19:30:39 +00:00
parent 13111f8435
commit 818b41198b
1 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,7 @@ fi
PREFIX="apache-solr-ref-guide"
DIR="$PREFIX-$VER_RC"
PDF="$DIR/$PREFIX-$VER.pdf"
PDF="$PREFIX-$VER.pdf"
SHA="$PDF.sha1"
GPG="$PDF.asc"
@ -77,7 +77,8 @@ fi
set -x
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
gpg $GPG_ID_ARG --armor --output $GPG --detach-sig $PDF|| exit 1