[PATCH] build.sh: new command line option
Mariusz Ceier
mceier at gmail.com
Wed May 26 17:50:56 PDT 2010
New command line option for autoresuming build:
./build.sh --clone -rf build.modules prefix
When build.modules doesn't exist it is equivalent to:
./build.sh --clone -f build.modules prefix
When build.modules does exist it is equivalent to:
./build.sh --clone -f build.modules -r `tail -n 1 build.modules` prefix
Signed-off-by: Mariusz Ceier <mceier at gmail.com>
---
build.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/build.sh b/build.sh
index 79ae83a..a535400 100755
--- a/build.sh
+++ b/build.sh
@@ -746,6 +746,11 @@ do
shift
RESUME=$1
;;
+ -rf)
+ shift
+ BUILT_MODULES_FILE=$1
+ [ -f $1 ] && RESUME=`tail -n 1 $1`
+ ;;
-s)
shift
SUDO=$1
--
1.7.1
More information about the xorg-devel
mailing list