mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:49:23 +02:00
Set needgsed to 0 for non-NetBSD systems
git-svn-id: trunk@21823 -
This commit is contained in:
parent
bc0c94c204
commit
b93b08427f
@ -20,6 +20,8 @@ os=`uname -s`
|
|||||||
|
|
||||||
if [ "$os" == "NetBSD" ] ; then
|
if [ "$os" == "NetBSD" ] ; then
|
||||||
needgsed=1
|
needgsed=1
|
||||||
|
else
|
||||||
|
needgsed=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SED=sed
|
SED=sed
|
||||||
@ -37,7 +39,7 @@ fi
|
|||||||
for file in $@ ; do
|
for file in $@ ; do
|
||||||
|
|
||||||
echo "Looking for constants in \"$file\""
|
echo "Looking for constants in \"$file\""
|
||||||
$SED -n "s:.*[[:space:]]\([a-zA-Z_][a-zA-Z_0-9]*\)[[:space:]]*=[[:space:]]*\([-+]*[0-9][xX]*[0-9+-\*/]*\)[[:space:]]*;.*:test_const \1 \2:p" $file > check_const_list.sh
|
$SED -n -e "s:.*[[:space:]]\([a-zA-Z_][a-zA-Z_0-9]*\)[[:space:]]*=[[:space:]]*\([-+]*[0-9][xX]*[-0-9+[:space:]]*\)[[:space:]]*;.*:test_const \1 \2:p" $file > check_const_list.sh
|
||||||
|
|
||||||
test_const ()
|
test_const ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user