aboutsummaryrefslogtreecommitdiff
path: root/package/sed/sedcheck.sh
blob: 3fe44e85e96c06da04ae398061bd21eb4638c0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Make sure the host sed supports '-i' (in-place).
# If it doesn't, we'll build and use our own.
SED=$(toolchain/dependencies/check-host-sed.sh)

if [ -z "$SED" ] ; then
	echo build-sed-host-binary
else
	echo use-sed-host-binary
fi