You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2017/09/21 19:17:21 UTC
svn commit: r1809204 - /openoffice/devtools/release-scripts/hash-sign.sh
Author: jim
Date: Thu Sep 21 19:17:20 2017
New Revision: 1809204
URL: http://svn.apache.org/viewvc?rev=1809204&view=rev
Log:
minor improvement due to shell variation
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=1809204&r1=1809203&r2=1809204&view=diff
==============================================================================
--- openoffice/devtools/release-scripts/hash-sign.sh (original)
+++ openoffice/devtools/release-scripts/hash-sign.sh Thu Sep 21 19:17:20 2017
@@ -13,10 +13,10 @@ case "$1" in
;;
esac
-if test -n "$@"; then
- allfiles="$@"
+if test -z "$@"; then
+ allfiles=`find . -type f \( -name '*.tar.gz' -or -name '*.tar.bz2' -or -name '*.dmg' -or -name '*.zip' -or -name '*.exe' \) -print`
else
- allfiles=`find . -type f \\( -name '*.tar.gz' -or -name '*.tar.bz2' -or -name '*.dmg' -or -name '*.zip' -or -name '*.exe' \\)`
+ allfiles="$@"
fi
echo ""