Skip to content

Commit f588db9

Browse files
committed
contrib/android/check-versions.sh: make a remaining verbose message conditional
Signed-off-by: Brice Goglin <[email protected]> (cherry picked from commit 471e43d)
1 parent c6f6ed8 commit f588db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/android/check-versions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if test "x$update" = "x1"; then
6060
sed -r -e '/define HWLOC_VERSION_MINOR /s/[0-9]+/'$official_minor'/' -i "$android_config_h"
6161
sed -r -e '/define HWLOC_VERSION_RELEASE /s/[0-9]+/'$official_release'/' -i "$android_config_h"
6262
sed -r -e '/define HWLOC_VERSION_GREEK "/s/"[0-9a-zA-Z\.-]*"/"'$official_greek'"/' -i "$android_config_h"
63-
echo "Updating Android VERSION in $android_gradle ..."
63+
$echo "Updating Android VERSION in $android_gradle ..."
6464
# replace oldversion-X-Y with newversion-1-Y since a version bump usually puts back snapshot number to 1
6565
suffix=$(grep -w versionName $android_gradle | grep -oP '".*"' | tr -d \" | grep -oP -- '-[0-9\.]+$')
6666
sed -r -e '/versionName "/s/"[0-9a-zA-Z\.-]+"/"'$official_version'-1'$suffix'"/' -i $android_gradle

0 commit comments

Comments
 (0)