[packages/multipath-tools] update script to fetch branch diff to use currently used filename
glen
glen at pld-linux.org
Fri May 17 23:38:37 CEST 2013
commit c35276e00c877e98be16227656b7a21132584b94
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 18 00:15:35 2013 +0300
update script to fetch branch diff to use currently used filename
branch.sh | 11 +++++------
multipathd.init | 0
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/branch.sh b/branch.sh
old mode 100644
new mode 100755
index c1dd02c..2110711
--- a/branch.sh
+++ b/branch.sh
@@ -1,12 +1,11 @@
#!/bin/sh
set -e
-# http://git.kernel.org/gitweb.cgi?p=linux/storage/multipath-tools/.git
+# http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git
branch=master
tag=tags/0.4.9
-#url=http://kernel.org/pub/scm/linux/storage/multipath-tools/.git
url=http://git.opensvc.com/multipath-tools/.git
pkg=multipath-tools
-out=$pkg-branch.diff
+out=$pkg-git.patch
d=$-
filter() {
@@ -16,11 +15,11 @@ filter() {
cat
}
-if [ ! -d git ]; then
- git clone $url git
+if [ ! -d $pkg ]; then
+ git clone $url $pkg
fi
-cd git
+cd $pkg
git pull
git diff $tag..$branch | filter > ../$out.tmp
cd ..
diff --git a/multipathd.init b/multipathd.init
old mode 100644
new mode 100755
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/multipath-tools.git/commitdiff/81d0f82c939505ab8e223a7d5156bee541ea7656
More information about the pld-cvs-commit
mailing list