diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-20 23:49:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-20 23:49:23 +0000 |
commit | 6243bf96493fb54ce5bd02592115d53e1fad0495 (patch) | |
tree | 17a8770e2bb54bb36526420c617aa3219100d554 /toolchain/sed/sedcheck.sh | |
parent | 01ddf4d5235ba941272d2180640476fc0d31b7e2 (diff) | |
download | upstream-6243bf96493fb54ce5bd02592115d53e1fad0495.tar.gz upstream-6243bf96493fb54ce5bd02592115d53e1fad0495.tar.bz2 upstream-6243bf96493fb54ce5bd02592115d53e1fad0495.zip |
add toolchain/download target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4029 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/sed/sedcheck.sh')
-rwxr-xr-x | toolchain/sed/sedcheck.sh | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/toolchain/sed/sedcheck.sh b/toolchain/sed/sedcheck.sh index 4d645b6ab0..5af1d886bd 100755 --- a/toolchain/sed/sedcheck.sh +++ b/toolchain/sed/sedcheck.sh @@ -11,11 +11,20 @@ fi; echo "HELLO" > .sedtest $SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1 -if [ $? != 0 ] ; then - echo build-sed-host-binary -else - echo use-sed-host-binary -fi; +case "$1" in + download) + if [ $? != 0 ] ; then + echo download-sed-binary + fi; + ;; + *) + if [ $? != 0 ] ; then + echo build-sed-host-binary + else + echo use-sed-host-binary + fi; + ;; +esac rm -f .sedtest |