]> git.pld-linux.org Git - packages/php-pear-MDB2_Driver_sqlite3.git/commitdiff
add get-source.sh script master
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 22 Jan 2013 22:52:22 +0000 (00:52 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 27 Feb 2022 21:52:02 +0000 (23:52 +0200)
get-source.sh [new file with mode: 0755]

diff --git a/get-source.sh b/get-source.sh
new file mode 100755 (executable)
index 0000000..1fe2058
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+pkg=MDB2_Driver_sqlite3
+git=git://github.com/owncloud/core.git
+
+if [ ! -d $pkg ]; then
+       git clone $git $pkg
+else
+       cd $pkg
+       git pull
+       cd ..
+fi
+
+GIT_DIR=$pkg/.git git \
+       -c tar.tar.bz2.command="bzip2 -9c" \
+       archive --prefix=$pkg/MDB2/Driver/ \
+       master:lib/MDB2/Driver/ -o $pkg.tar.bz2
This page took 0.079236 seconds and 4 git commands to generate.