diff build/update-version.sh @ 326:ef1dc9963638

Update versions throughout
author Chris Cannam
date Thu, 24 Nov 2011 13:18:04 +0000
parents 34754c776530
children f9e13bc35b3e
line wrap: on
line diff
--- a/build/update-version.sh	Wed Sep 28 16:38:40 2011 +0100
+++ b/build/update-version.sh	Thu Nov 24 13:18:04 2011 +0000
@@ -57,7 +57,7 @@
 $p 's/(VAMP_API_VERSION).*/$1 '$major'/' \
     vamp/vamp.h
 
-$p 's/(VAMP_SDK_VERSION)"[^"]*"/$1 "'$version'"/' \
+$p 's/(VAMP_SDK_VERSION) +"[^"]*"/$1 "'$version'"/' \
     vamp-sdk/PluginBase.h
 
 $p 's/(VAMP_SDK_MAJOR_VERSION).*/$1 '$major'/' \
@@ -66,16 +66,16 @@
 $p 's/(VAMP_SDK_MINOR_VERSION).*/$1 '$minor'/' \
     vamp-sdk/PluginBase.h
 
-$p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \
+$p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \
     src/vamp-sdk/PluginAdapter.cpp
 
-$p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \
+$p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \
     src/vamp-sdk/PluginAdapter.cpp
 
-$p 's/(VAMP_SDK_MAJOR_VERSION !=) \d+/$1 '$major'/' \
+$p 's/(VAMP_SDK_MAJOR_VERSION !=) [\d\.]+/$1 '$major'/' \
     src/vamp-hostsdk/PluginHostAdapter.cpp
 
-$p 's/(VAMP_SDK_MINOR_VERSION !=) \d+/$1 '$minor'/' \
+$p 's/(VAMP_SDK_MINOR_VERSION !=) [\d\.]+/$1 '$minor'/' \
     src/vamp-hostsdk/PluginHostAdapter.cpp
 
 for pc in pkgconfig/*.pc.in ; do