Author: jim
Date: Mon Aug 14 11:27:04 2017
New Revision: 1804982
URL: http://svn.apache.org/viewvc?rev=1804982&view=rev
Log:
Minor enhancement... allow file list to be in command line
Modified:
openoffice/devtools/release-scripts/hash-sign.sh
Modified: openoffice/devtools/release-scripts/hash-sign.sh
URL:
http://svn.apache.org/viewvc/openoffice/devtools/release-scripts/hash-sign.sh?rev=1804982&r1=1804981&r2=1804982&view=diff
==============================================================================
--- openoffice/devtools/release-scripts/hash-sign.sh (original)
+++ openoffice/devtools/release-scripts/hash-sign.sh Mon Aug 14 11:27:04 2017
@@ -13,7 +13,11 @@ case "$1" in
;;
esac
-allfiles=`find . -type f \\( -name '*.tar.gz' -or -name '*.tar.bz2' -or -name
'*.dmg' -or -name '*.zip' -or -name '*.exe' \\)`
+if test -n "$@"; then
+ allfiles="$@"
+else
+ allfiles=`find . -type f \\( -name '*.tar.gz' -or -name '*.tar.bz2' -or
-name '*.dmg' -or -name '*.zip' -or -name '*.exe' \\)`
+fi
echo ""
echo "Generating MD5/SHA1/SHA256 checksum files ..."