mirror of
https://github.com/darlinghq/darling-libiconv.git
synced 2024-11-23 12:39:47 +00:00
c047ea56be
Source is based on libiconv-59
12 lines
353 B
Sed
12 lines
353 B
Sed
# Sed script for tests/stateful-check editing.
|
|
|
|
/set -e/ a\
|
|
# For systems with severe filename restrictions allow for\
|
|
# an alternate filename.\
|
|
UNAME=${UNAME-`uname 2>/dev/null`}\
|
|
case X$UNAME in\
|
|
*-DOS) filename=`echo "$charset" | sed "s|ISO-|ISO/|;s|2022-|2022|"` ;;\
|
|
*) filename="$charset" ;;\
|
|
esac
|
|
s/\$charset"-snippet/$filename"-snippet/g
|