Chameleon

Chameleon Commit Details

Date:2014-10-23 08:29:41 (9 years 6 months ago)
Author:Chuck Fry
Commit:2450
Parents: 2449
Message:Fix "sed: RE error: illegal byte sequence", which turns out to be from feeding sed a TIFF file
Changes:
M/branches/chucko/package/buildpkg.sh

File differences

branches/chucko/package/buildpkg.sh
173173
174174
175175
176
176177
177
178
179
178
179
180
181
182
183
180184
181185
182186
$chameleonSubsts
$ownSubst"
# HACK: Don't try to substitute in TIFF files!
for file in "$@";do
cp -pf "$file" "${file}.in"
sed "$allSubst" "${file}.in" > "${file}"
rm -f "${file}.in"
if [ -z `echo "$file" | grep tiff` ]
then
cp -pf "$file" "${file}.in"
sed "$allSubst" "${file}.in" > "${file}"
rm -f "${file}.in"
fi
done
}

Archive Download the corresponding diff file

Revision: 2450