summaryrefslogtreecommitdiffstats
path: root/tools/ppc/convert
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-15 20:54:31 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-15 20:54:31 +0000
commit864112d23d98039d2c335d4f3f7abac0a5b0d002 (patch)
tree51fa71d1818f79eb8b24891e640c60ff41f29b37 /tools/ppc/convert
parent9fb1eafd99a675eef35331ae3f4aee1448d7de77 (diff)
downloaddrakx-864112d23d98039d2c335d4f3f7abac0a5b0d002.tar
drakx-864112d23d98039d2c335d4f3f7abac0a5b0d002.tar.gz
drakx-864112d23d98039d2c335d4f3f7abac0a5b0d002.tar.bz2
drakx-864112d23d98039d2c335d4f3f7abac0a5b0d002.tar.xz
drakx-864112d23d98039d2c335d4f3f7abac0a5b0d002.zip
gi/tools/ppc/convert, magic, mapping, mkINSTALLCD, mkhybrid-1.12b5.4, yaboot: create PPC CD
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