[PATCH 1/9] tipbin/*: source tip-lib from $(dirname "$0") instead of ~/bin/tip/

From: Uwe Kleine-KÃnig
Date: Thu Dec 03 2009 - 17:26:04 EST


Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
---
.tip/bin/tip-backup | 2 +-
.tip/bin/tip-check-topic-version | 2 +-
.tip/bin/tip-compare-remote | 2 +-
.tip/bin/tip-curr | 2 +-
.tip/bin/tip-ls-topics | 2 +-
.tip/bin/tip-wget | 2 +-
.tip/bin/tip-wget-series | 2 +-
.tip/bin/todo-merge-all | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.tip/bin/tip-backup b/.tip/bin/tip-backup
index 682d68d..b75022c 100755
--- a/.tip/bin/tip-backup
+++ b/.tip/bin/tip-backup
@@ -1,6 +1,6 @@
#!/bin/bash

-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

check_master

diff --git a/.tip/bin/tip-check-topic-version b/.tip/bin/tip-check-topic-version
index 4dd216f..d841aad 100755
--- a/.tip/bin/tip-check-topic-version
+++ b/.tip/bin/tip-check-topic-version
@@ -1,6 +1,6 @@
#!/bin/bash

-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

BRANCH=$(get_current_branch)

diff --git a/.tip/bin/tip-compare-remote b/.tip/bin/tip-compare-remote
index 5aff1aa..b4ea246 100755
--- a/.tip/bin/tip-compare-remote
+++ b/.tip/bin/tip-compare-remote
@@ -1,6 +1,6 @@
#!/bin/bash

-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

HEADS=$(git ls-remote -h origin | sed 's/\t/:/')

diff --git a/.tip/bin/tip-curr b/.tip/bin/tip-curr
index fa93e90..61cc3f6 100755
--- a/.tip/bin/tip-curr
+++ b/.tip/bin/tip-curr
@@ -1,6 +1,6 @@
#!/bin/bash

-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

echo "tip/"$(get_current_branch)" "$(git log -1 --pretty=format:"%h: %s")

diff --git a/.tip/bin/tip-ls-topics b/.tip/bin/tip-ls-topics
index c10b3a1..4bfa94a 100755
--- a/.tip/bin/tip-ls-topics
+++ b/.tip/bin/tip-ls-topics
@@ -1,4 +1,4 @@
-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

usage ()
{
diff --git a/.tip/bin/tip-wget b/.tip/bin/tip-wget
index 4741c74..b3bffd4 100755
--- a/.tip/bin/tip-wget
+++ b/.tip/bin/tip-wget
@@ -1,6 +1,6 @@
#!/bin/bash

-#. ~/bin/tip/tip-lib
+#. $(dirname "$0")/tip-lib

if [ $# != "1" ]; then
echo 'usage: tip-wget <uri>'
diff --git a/.tip/bin/tip-wget-series b/.tip/bin/tip-wget-series
index 56605c2..51104b1 100755
--- a/.tip/bin/tip-wget-series
+++ b/.tip/bin/tip-wget-series
@@ -1,6 +1,6 @@
#!/bin/bash

-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

if [ $# != "1" ]; then
echo 'usage: tip-wget-series <uri>'
diff --git a/.tip/bin/todo-merge-all b/.tip/bin/todo-merge-all
index 860c03f..b14322c 100755
--- a/.tip/bin/todo-merge-all
+++ b/.tip/bin/todo-merge-all
@@ -1,4 +1,4 @@
-. ~/bin/tip/tip-lib
+. $(dirname "$0")/tip-lib

echo -n "merging the following updated branches: "

--
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/