]> git.hungrycats.org Git - linux/commitdiff
Kick bash harder to reset $PWD to full path
authorZygo Blaxell <zygo.blaxell@xandros.com>
Fri, 28 Nov 2008 17:01:11 +0000 (12:01 -0500)
committerZygo Blaxell <zygo.blaxell@xandros.com>
Fri, 28 Nov 2008 17:01:11 +0000 (12:01 -0500)
zygo/do
zygo/make-kernel
zygo/new-kernel
zygo/rename-kernel

diff --git a/zygo/do b/zygo/do
index 0c5d517e53971bbd434fc1c8e93513314c28d966..15c762c9604006b84070e6e1a2f8e0e66a5d9b7d 100755 (executable)
--- a/zygo/do
+++ b/zygo/do
@@ -3,6 +3,9 @@ set -axP
 CONCURRENCY_LEVEL="${CONCURRENCY_LEVEL-40}"
 PATH="$PWD/zygo:$PATH"
 
+# Reread $PWD
+cd .
+
 # trash ../modules/linux-wlan-ng*
 
 trash debian
index 814bbb25ce8def065b9d27a1d23f5909a9810f06..289e937631539720e906b867887a77a3acb31718 100755 (executable)
@@ -2,6 +2,9 @@
 set -xP
 rev=zb${PWD##*-zb}
 
+# Reread $PWD
+cd .
+
 (
        set -a
        MODULE_LOC=$PWD/../modules 
index 263f3b8c53446e026835d23298a2ac141d984ea1..775b2d002fdbcf8dac6337b4443a36e797c8c131 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/bash
-# $Id$
 set -xP
 cd ../modules || exit 1
 
index d6c6a15310d6721f2de1138c0ed95c6da14df9d2..a7e9f3e2a73475e15197a48e1a33d2d8b4bd6210 100755 (executable)
@@ -4,6 +4,9 @@ tmp=`mktemp /tmp/rkXXXXXX`
 
 set -aP
 
+# Reread $PWD
+cd .
+
 for x in ../linux-source*/; do
        [ -d "$x" ] || continue