[ewg] [PATCH] ofed_scripts: compatibility with newer GIT releases
yannick.cote at qlogic.com
yannick.cote at qlogic.com
Fri Sep 19 12:50:22 PDT 2008
From: Yannick Cote <yannick.cote at qlogic.com>
Newer versions of git encourages the use of 'git command' instead of
'git-command'.
Signed-off-by: Yannick Cote <yannick.cote at qlogic.com>
---
ofed_scripts/check_ofed_kernel.sh | 4 ++--
ofed_scripts/ofed_checkout.sh | 4 ++--
ofed_scripts/ofed_makedist.sh | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ofed_scripts/check_ofed_kernel.sh b/ofed_scripts/check_ofed_kernel.sh
index 5983afc..d8df763 100755
--- a/ofed_scripts/check_ofed_kernel.sh
+++ b/ofed_scripts/check_ofed_kernel.sh
@@ -110,9 +110,9 @@ rm -rf $tmpdir/$project-$kernel
ex git clone -q -s -n $giturl $tmpdir/$project-$kernel
pushd $tmpdir/$project-$kernel
-head=${head:-`git-show-ref -s -h -- HEAD | head -1`}
+head=${head:-`git show-ref -s -h -- HEAD | head -1`}
-ex git checkout $head `git-ls-tree -r --name-only $head \
+ex git checkout $head `git ls-tree -r --name-only $head \
ofed_scripts/ofed_checkout.sh
`
ex ofed_scripts/ofed_checkout.sh $head
diff --git a/ofed_scripts/ofed_checkout.sh b/ofed_scripts/ofed_checkout.sh
index 7e27c03..a96de87 100755
--- a/ofed_scripts/ofed_checkout.sh
+++ b/ofed_scripts/ofed_checkout.sh
@@ -13,7 +13,7 @@ ex()
}
-ex git checkout $1 `git-ls-tree -r --name-only $1 \
+ex git checkout $1 `git ls-tree -r --name-only $1 \
include/rdma \
include/scsi/srp.h \
include/scsi/iscsi_proto.h \
@@ -51,7 +51,7 @@ ex git checkout $1 `git-ls-tree -r --name-only $1 \
kernel_addons \
`
-ex git checkout $1 `git-ls-tree -r --name-only $1 \
+ex git checkout $1 `git ls-tree -r --name-only $1 \
kernel_patches \
net/rds \
drivers/base/attribute_container.c \
diff --git a/ofed_scripts/ofed_makedist.sh b/ofed_scripts/ofed_makedist.sh
index 60a0f64..41cd0e7 100755
--- a/ofed_scripts/ofed_makedist.sh
+++ b/ofed_scripts/ofed_makedist.sh
@@ -32,7 +32,7 @@ CWD=`pwd`
project=${project:-"ofed_kernel"}
tmpdir=`mktemp -d /tmp/build-$project-XXXXXX`
giturl=${giturl:-${CWD}}
-head=${head:-`git-show-ref -s -h -- HEAD`}
+head=${head:-`git show-ref -s -h -- HEAD`}
backports=${backports:-`(cd kernel_patches/backport/; ls)`}
destdir=${destdir:-${CWD}}
--
1.6.0.2
More information about the ewg
mailing list