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
|
||||
|
||||
if [ $port = "msw" ]; then
|
||||
FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)`
|
||||
echo "$FILES" > /tmp/textfiles
|
||||
fi
|
||||
|
||||
pushd /tmp/wx$port
|
||||
# use DOS line endings for text files for MSW archives.
|
||||
if [ $port = "msw" ]; then
|
||||
FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)`
|
||||
|
||||
else
|
||||
FILES=`find . -name \*.ds?`
|
||||
fi
|
||||
echo "$FILES" > /tmp/textfiles
|
||||
|
||||
pushd /tmp/wx$port
|
||||
|
||||
|
||||
pushd /tmp/wx$port/wx$portname-$VERSION
|
||||
for file in `cat /tmp/textfiles`; do
|
||||
unix2dos $file
|
||||
done
|
||||
popd
|
||||
fi
|
||||
|
||||
echo "Creating wx$portname-$VERSION.zip..."
|
||||
zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .
|
||||
echo "Creating wx$portname-$VERSION.tar.gz..."
|
||||
|
Reference in New Issue
Block a user