summaryrefslogtreecommitdiffstats
path: root/tools/ppc/convert
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-16 01:28:16 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-16 01:28:16 +0000
commitc5cb2770da73e015bd67ae35c4c63a1e554fea97 (patch)
tree65105dbe7526420b13e3e49663d1c43490c63b5b /tools/ppc/convert
parent51da20f399dff778064f436cf9f171accf5de41d (diff)
downloaddrakx-c5cb2770da73e015bd67ae35c4c63a1e554fea97.tar
drakx-c5cb2770da73e015bd67ae35c4c63a1e554fea97.tar.gz
drakx-c5cb2770da73e015bd67ae35c4c63a1e554fea97.tar.bz2
drakx-c5cb2770da73e015bd67ae35c4c63a1e554fea97.tar.xz
drakx-c5cb2770da73e015bd67ae35c4c63a1e554fea97.zip
gi/tools/ppc/convert, magic, mapping, mkhybrid-1.12b5.4, yaboot - re-add - my bad
Diffstat (limited to 'tools/ppc/convert')
-rwxr-xr-xtools/ppc/convert5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ppc/convert b/tools/ppc/convert
new file mode 100755
index 000000000..a2622c630
--- /dev/null
+++ b/tools/ppc/convert
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mv $1.orig $1.Unix
+tr "\n" "\r" < $1.Unix > $1.MacOS
+perl -e '@line = <>; $line = join("\r\n", split(/\n/, join("", @line))); print $line; print "\r\n";' < $1.Unix > $1.DOS