aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-07-29 21:04:49 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-07-29 21:04:49 +0200
commit9838ca5086daa59b8a1d8e256d304c4d302a63fa (patch)
tree73d54b5c39ad281b4a0e21ed75658cae82d57756
parentautomatic bump (diff)
downloadsci-9838ca5086daa59b8a1d8e256d304c4d302a63fa.tar.gz
sci-9838ca5086daa59b8a1d8e256d304c4d302a63fa.tar.bz2
sci-9838ca5086daa59b8a1d8e256d304c4d302a63fa.zip
update-monomers-db fixed --> sha256sum ouput
-rw-r--r--scripts/update-monomers-db6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/update-monomers-db b/scripts/update-monomers-db
index d34c4baea..28e30333c 100644
--- a/scripts/update-monomers-db
+++ b/scripts/update-monomers-db
@@ -34,7 +34,7 @@ cd ${TMPDIR};
wget http://www.ysbl.york.ac.uk/~garib/refmac/data/refmac_dictionary.tar.gz
-SHA_NEW=$(sha256sum refmac_dictionary.tar.gz)
+SHA_NEW=$(sha256sum refmac_dictionary.tar.gz|awk '{print $1}')
SHA_OLD=$(sed -n -e '/^DIST monomer/p' ${REPO_DOC}/../sci-libs/monomer-db/Manifest | \
tail -n 1 | awk '{print $9}')
@@ -42,5 +42,7 @@ if [[ ${SHA_OLD} == ${SHA_NEW} ]]; then
echo "Nothing to update"
else
echo "bumping to monomer-db-${DATE} ..."
- bump_package
+# bump_package
+ echo ${SHA_OLD}
+ echo ${SHA_NEW}
fi