aboutsummaryrefslogtreecommitdiffstats
path: root/tools/sed/sedcheck.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-10 22:29:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-10 22:29:46 +0000
commit8c7c8aac5a0a11ba279c8ddc424f17fcbca9ac68 (patch)
tree33ffa61c05fc80f9e56e8bcabd5c5b5ccdc0896d /tools/sed/sedcheck.sh
parent93f9a87efc6ac45b766cd55a1914a385b4cf11a7 (diff)
downloadmaster-187ad058-8c7c8aac5a0a11ba279c8ddc424f17fcbca9ac68.tar.gz
master-187ad058-8c7c8aac5a0a11ba279c8ddc424f17fcbca9ac68.tar.bz2
master-187ad058-8c7c8aac5a0a11ba279c8ddc424f17fcbca9ac68.zip
always build sed, some systems have a broken one where it's hard to detect
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5043 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/sed/sedcheck.sh')
-rwxr-xr-xtools/sed/sedcheck.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/sed/sedcheck.sh b/tools/sed/sedcheck.sh
deleted file mode 100755
index f5a09fde08..0000000000
--- a/tools/sed/sedcheck.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-if [ -x /usr/bin/sed ]; then
- SED="/usr/bin/sed";
-else
- if [ -x /bin/sed ]; then
- SED="/bin/sed";
- fi;
-fi;
-
-echo "HELLO" > .sedtest
-$SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1
-
-case "$1" in
- *)
- if [ $? != 0 ] ; then
- echo build-sed-host-binary
- else
- echo use-sed-host-binary
- fi;
- ;;
-esac
-rm -f .sedtest*
-