diff options
Diffstat (limited to 'test/rules-test.sh')
-rwxr-xr-x | test/rules-test.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rules-test.sh b/test/rules-test.sh index 219575360e..50b83a3e91 100755 --- a/test/rules-test.sh +++ b/test/rules-test.sh @@ -17,12 +17,10 @@ # You should have received a copy of the GNU Lesser General Public License # along with systemd; If not, see <http://www.gnu.org/licenses/>. -[ -n "$srcdir" ] || srcdir=`dirname $0`/.. - # skip if we don't have python type ${PYTHON:-python} >/dev/null 2>&1 || { echo "$0: No $PYTHON installed, skipping udev rule syntax check" exit 0 } -$PYTHON $srcdir/test/rule-syntax-check.py `find $srcdir/rules -name '*.rules'` +$PYTHON $srcdir/test/rule-syntax-check.py |