mtools/mtools-3.9.9-noargs.patch

16 lines
451 B
Diff
Raw Normal View History

--- mtools-3.9.9/scripts/mcomp.noargs 2003-05-22 12:22:42.000000000 +0100
+++ mtools-3.9.9/scripts/mcomp 2003-05-22 13:09:05.000000000 +0100
@@ -1,5 +1,12 @@
#!/bin/sh
+if [ $# -lt 2 ]; then
+ echo "usage: $0 [-bspanvmQT] [-D clash_option] sourcefile targetfile"
+ echo " $0 [-bspanvmQT] [-D clash_option] sourcefile [ sourcefiles... ]"
+ echo " targetdirectoryopy [-tnvm] MSDOSsourcefile"
+ exit 1
+fi
+
dosfile=$1
shift