mirror of
https://github.com/mirror/wget.git
synced 2025-01-28 05:10:35 +08:00
* bootstrap.conf: Make 'sed' options more portable
'sed -i' works differently on FreeBSD. Reported-by: Mojca Miklavec
This commit is contained in:
parent
92bfe2a2e4
commit
0004d3ec22
@ -159,8 +159,8 @@ bootstrap_post_import_hook ()
|
|||||||
|
|
||||||
if [ $GPERF_VER -lt 30100 ]; then
|
if [ $GPERF_VER -lt 30100 ]; then
|
||||||
echo "Creating lib/unicase/special-casing-table.h for gperf < 3.1"
|
echo "Creating lib/unicase/special-casing-table.h for gperf < 3.1"
|
||||||
gperf -m 10 lib/unicase/special-casing-table.gperf > lib/unicase/special-casing-table.h-t && \
|
gperf -m 10 lib/unicase/special-casing-table.gperf | \
|
||||||
mv lib/unicase/special-casing-table.h-t lib/unicase/special-casing-table.h
|
sed -e "s/gl_unicase_special_lookup.*/gl_unicase_special_lookup\ \(const char \*str, size_t len\)/g" \
|
||||||
sed -i "s/gl_unicase_special_lookup.*/gl_unicase_special_lookup\ \(const char \*str, size_t len\)/g" lib/unicase/special-casing-table.h
|
> lib/unicase/special-casing-table.h
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user