mirror of
https://github.com/mirror/wget.git
synced 2025-01-26 12:20:15 +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
|
||||
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 && \
|
||||
mv lib/unicase/special-casing-table.h-t lib/unicase/special-casing-table.h
|
||||
sed -i "s/gl_unicase_special_lookup.*/gl_unicase_special_lookup\ \(const char \*str, size_t len\)/g" lib/unicase/special-casing-table.h
|
||||
gperf -m 10 lib/unicase/special-casing-table.gperf | \
|
||||
sed -e "s/gl_unicase_special_lookup.*/gl_unicase_special_lookup\ \(const char \*str, size_t len\)/g" \
|
||||
> lib/unicase/special-casing-table.h
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user