Test if we can use sed. A version >19950206 is required.

This commit is contained in:
Jean-Marc Zucconi 1995-02-07 02:41:52 +00:00
parent e01d852def
commit 4ace844353
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=904

View File

@ -1,5 +1,9 @@
#!/bin/sh
if [ "`echo a|sed -e P`" = "aa" ]; then
echo You need a newer version of sed. Use sed from -current or gnu sed
exit 1
fi
cd $WRKSRC || exit 1;
sed -e s:/usr/local:$PREFIX: <local.h.samp >local.h || exit 1;