Mercurial > hg > aboriginal
changeset 552:a0a26ea9299d
Use -lt to more reliably compare numbers in shell script.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 27 Dec 2008 05:56:01 -0600 |
parents | 0b270ad76c8e |
children | 80f3356577fc |
files | sources/native/bin/qemu-setup.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/native/bin/qemu-setup.sh Fri Dec 26 19:06:23 2008 -0600 +++ b/sources/native/bin/qemu-setup.sh Sat Dec 27 05:56:01 2008 -0600 @@ -41,7 +41,7 @@ route add default gw 10.0.2.2 # If we have no RTC, try rdate instead: - [[ `date +%s` < 1000 ]] && rdate 10.0.2.2 # or time-b.nist.gov + [ `date +%s` -lt 1000 ] && rdate 10.0.2.2 # or time-b.nist.gov # If there's a /dev/hdb or /dev/sdb, mount it on home