r3771 - trunk/src/target/u-boot/scripts

werner at sita.openmoko.org werner at sita.openmoko.org
Sat Jan 5 04:35:55 CET 2008


Author: werner
Date: 2008-01-05 04:35:52 +0100 (Sat, 05 Jan 2008)
New Revision: 3771

Modified:
   trunk/src/target/u-boot/scripts/build
Log:
- scripts/build: fixed incorrect negation in [ ! -z ... ] || ...
- scripts/build: typo, "which" not "with"



Modified: trunk/src/target/u-boot/scripts/build
===================================================================
--- trunk/src/target/u-boot/scripts/build	2008-01-05 03:19:07 UTC (rev 3770)
+++ trunk/src/target/u-boot/scripts/build	2008-01-05 03:35:52 UTC (rev 3771)
@@ -21,7 +21,7 @@
 # DEVICE=gta02v3
 # DEVICE=gta02v4
 #
-# GIT_HEAD, if defined, specifies with git head we use, e.g.,
+# GIT_HEAD, if defined, specifies which git head we use, e.g.,
 # GIT_HEAD=5c740711f0ea5b51414b341b71597c4a0751be74
 #
 # SVN_REV, if defined, specifies which SVN revision we use, e.g.,
@@ -31,12 +31,12 @@
 git clone git://www.denx.de/git/u-boot.git
 cd u-boot
 
-[ ! -z "$GIT_HEAD"] ||
+[ -z "$GIT_HEAD"] ||
   git reset --hard $GIT_HEAD
 
 ln -sf $SVN/trunk/src/target/u-boot/patches
 
-[ ! -z "$SVN_REV" ] ||
+[ -z "$SVN_REV" ] ||
   ( cd patches && svn update -r$SVN_REV; )
 
 quilt push -a





More information about the commitlog mailing list