[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36446] trunk/blender: remove dos/ unix conversion scripts, enough editors and utilities can do this.

Campbell Barton ideasman42 at gmail.com
Mon May 2 17:56:52 CEST 2011


Revision: 36446
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36446
Author:   campbellbarton
Date:     2011-05-02 15:56:52 +0000 (Mon, 02 May 2011)
Log Message:
-----------
remove dos/unix conversion scripts, enough editors and utilities can do this.
update debian spec for new icon location.

Modified Paths:
--------------
    trunk/blender/build_files/package_spec/debian/menu

Removed Paths:
-------------
    trunk/blender/source/tools/to_dos
    trunk/blender/source/tools/to_unix

Modified: trunk/blender/build_files/package_spec/debian/menu
===================================================================
--- trunk/blender/build_files/package_spec/debian/menu	2011-05-02 14:18:47 UTC (rev 36445)
+++ trunk/blender/build_files/package_spec/debian/menu	2011-05-02 15:56:52 UTC (rev 36446)
@@ -1,4 +1,4 @@
 ?package(blender-snapshot):needs="X11" section="Applications/Graphics"\
   longtitle="Blender 3D modeler / renderer"\
-  icon="/usr/share/pixmaps/blender.svg"\
+  icon="/usr/share/icons/hicolor/scalable/apps/blender.svg"\
   title="blender" command="/usr/bin/blender"

Deleted: trunk/blender/source/tools/to_dos
===================================================================
--- trunk/blender/source/tools/to_dos	2011-05-02 14:18:47 UTC (rev 36445)
+++ trunk/blender/source/tools/to_dos	2011-05-02 15:56:52 UTC (rev 36446)
@@ -1,33 +0,0 @@
-#! /bin/sh -e
-#Tag 1538
-# $Id$
-#
-# convert a UNIX ASCII file to a DOS ASCII file by appending ^M at the
-# end of each line and ^Z at the end of the file
-
-TMPFILE=/tmp/to_dos$$
-
-if [ $# -gt 2 ]
-then
-	echo "usage: to_dos [<unix_file> [<dos_file>]]"
-	exit 1
-fi
-
-
-if [ $# -gt 0 ]
-then
-	nawk '{printf("%s\r\n", $0);}' "$1" > $TMPFILE
-else
-	nawk '{printf("%s\r\n", $0);}' > $TMPFILE
-fi
-
-# Stick on the EOF character
-echo '\c' >> $TMPFILE
-
-if [ $# -eq 2 ]
-then
-	mv -f $TMPFILE "$2"
-else
-	cat $TMPFILE
-	rm $TMPFILE
-fi

Deleted: trunk/blender/source/tools/to_unix
===================================================================
--- trunk/blender/source/tools/to_unix	2011-05-02 14:18:47 UTC (rev 36445)
+++ trunk/blender/source/tools/to_unix	2011-05-02 15:56:52 UTC (rev 36446)
@@ -1,30 +0,0 @@
-#! /bin/sh -e
-#Tag 1538
-#
-# convert a DOS ASCII file to a UNIX ASCII file by removing trailing ^M at the
-# end of each line and ^Z at the end of the file
-
-TMPFILE=/tmp/to_unix$$
-
-if [ $# -gt 2 ]
-then
-	echo "usage: to_unix [<dos_file> [<unix_file>]]"
-	exit 1
-fi
-
-# First strip out all carriage-return and ctrl-Z's
-if [ $# -gt 0 ]
-then
-	tr -d '\015\032' < "$1" > $TMPFILE
-else
-	tr -d '\015\032' > $TMPFILE
-fi
-
-
-if [ $# -eq 2 ]
-then
-	mv -f $TMPFILE "$2"
-else
-	cat $TMPFILE
-	rm $TMPFILE
-fi




More information about the Bf-blender-cvs mailing list