projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable squashfs for au1000 target since it does not allow the user to use the whole...
[openwrt.git]
/
toolchain
/
sed
/
sedcheck.sh
diff --git
a/toolchain/sed/sedcheck.sh
b/toolchain/sed/sedcheck.sh
index
4d645b6
..
de15ac2
100755
(executable)
--- a/
toolchain/sed/sedcheck.sh
+++ b/
toolchain/sed/sedcheck.sh
@@
-11,11
+11,15
@@
fi;
echo "HELLO" > .sedtest
$SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1
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
+ *)
+ if [ $? != 0 ] ; then
+ echo build-sed-host-binary
+ else
+ echo use-sed-host-binary
+ fi;
+ ;;
+esac
rm -f .sedtest
rm -f .sedtest
This page took
0.020841 seconds
and
4
git commands to generate.