build_module.sh: fixed module versioning after 525814e36e8b
diff --git a/build_module.sh b/build_module.sh index 7d827dc..86cec1a 100755 --- a/build_module.sh +++ b/build_module.sh
@@ -368,7 +368,7 @@ # # Archive the module source for use with packaging tool using the base OSS version # -VERSION=`grep "^BASE_VERSION=" Makefile | cut -f2 -d= | tr -d "[:blank:]"` +VERSION=`grep "^NGINX_VERSION :=" ../contrib/src/nginx/version | cut -f2 -d= | tr -d "[:blank:]"` echo "$ME: INFO: Archiving module source for $VERSION" cd $BUILD_DIR mv $MODULE_NAME $MODULE_NAME-$VERSION