try for dos line endings in dsw and dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -145,20 +145,24 @@ dospinport(){
|
|||||||
|
|
||||||
copyfilelist $portfiles $APPDIR $TMPFILESDIR
|
copyfilelist $portfiles $APPDIR $TMPFILESDIR
|
||||||
|
|
||||||
|
# use DOS line endings for text files for MSW archives.
|
||||||
if [ $port = "msw" ]; then
|
if [ $port = "msw" ]; then
|
||||||
FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)`
|
FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)`
|
||||||
echo "$FILES" > /tmp/textfiles
|
|
||||||
|
else
|
||||||
|
FILES=`find . -name \*.ds?`
|
||||||
fi
|
fi
|
||||||
|
echo "$FILES" > /tmp/textfiles
|
||||||
|
|
||||||
pushd /tmp/wx$port
|
pushd /tmp/wx$port
|
||||||
# use DOS line endings for text files for MSW archives.
|
|
||||||
if [ $port = "msw" ]; then
|
|
||||||
pushd /tmp/wx$port/wx$portname-$VERSION
|
pushd /tmp/wx$port/wx$portname-$VERSION
|
||||||
for file in `cat /tmp/textfiles`; do
|
for file in `cat /tmp/textfiles`; do
|
||||||
unix2dos $file
|
unix2dos $file
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
fi
|
|
||||||
echo "Creating wx$portname-$VERSION.zip..."
|
echo "Creating wx$portname-$VERSION.zip..."
|
||||||
zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .
|
zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .
|
||||||
echo "Creating wx$portname-$VERSION.tar.gz..."
|
echo "Creating wx$portname-$VERSION.tar.gz..."
|
||||||
|
Reference in New Issue
Block a user