packages: mysql-connector-c++/get-source.sh (NEW)=?UTF-8?Q?=20?=- script to make tarball
glen
glen at pld-linux.org
Fri May 11 23:53:45 CEST 2012
Author: glen Date: Fri May 11 21:53:45 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- script to make tarball
---- Files affected:
packages/mysql-connector-c++:
get-source.sh (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/mysql-connector-c++/get-source.sh
diff -u /dev/null packages/mysql-connector-c++/get-source.sh:1.1
--- /dev/null Fri May 11 23:53:45 2012
+++ packages/mysql-connector-c++/get-source.sh Fri May 11 23:53:40 2012
@@ -0,0 +1,23 @@
+#!/bin/sh
+p=mysql-connector-c++
+v=1.1.0
+r=916
+
+d=$p-$v
+t=$p-bzr$r.tar.xz
+
+set -e
+
+if [ ! -d $d ]; then
+ bzr branch -r $r lp:~mysql/mysql-connector-cpp/trunk $d
+else
+ cd $d
+ bzr pull
+ bzr up -r $r
+ cd ..
+fi
+
+# check getDriverMajorVersion / getDriverMinorVersion / getDriverPatchVersion
+grep sql::SQLString.version.*$v $d/driver/mysql_metadata.cpp
+
+tar -cJf $t --exclude-vcs $d
================================================================
More information about the pld-cvs-commit
mailing list