chiark / gitweb /
autogen.sh: add CFLAGS and print entire line, so that mouse copy/paste works
[elogind.git] / test / rules-test.sh
index 9d5a07c19ee9d42e5dbc5be7e0e9ebba480a3969..511f05d9ee7e081b394315e6d004e79a4989e8cf 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
 # Call the udev rule syntax checker on all rules that we ship
 #
 # (C) 2010 Canonical Ltd.
@@ -14,4 +14,4 @@ type python >/dev/null 2>&1 || {
     exit 0
 }
 
-$srcdir/test/rule-syntax-check.py `find $srcdir/rules -type f`
+$srcdir/test/rule-syntax-check.py `find $srcdir/rules -name '*.rules'`