summaryrefslogtreecommitdiff
path: root/converters/chmview/files/convert.sh
blob: d2a0192f09a24c73b45c9e4c7e6a26979f9d6be3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

if [ X$1 = X ]
then
	exit 0
fi

if ! cd $1
then
	exit 1
fi

rm makefile

for FILE in *
do
	tr -d '\r' <${FILE} >${FILE}.NEW
	mv ${FILE}.NEW ${FILE}
done