Check for dos-like end of line
authorDavid Schleef <ds@schleef.org>
Tue, 3 Jul 2001 00:31:38 +0000 (00:31 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 3 Jul 2001 00:31:38 +0000 (00:31 +0000)
comedi/drivers/check_driver

index f2f3ae026c40b125851952da86bc57208ace4ba7..b13c233454ce19a08299fa459a49c920336f1642 100755 (executable)
@@ -280,3 +280,8 @@ else
        echo "E: config option not in Config.in (or broken)"
 fi
 
+# Check if the driver contains ^M
+if grep '\r' ${driver} &>/dev/null;then
+       echo "E: driver has ^M characters"
+fi
+