mirror of
https://git.proxmox.com/git/systemd
synced 2026-02-04 00:15:37 +00:00
Instead of tracking git upstream directly, the upstream branch now contains the contents of the orig tarball available at http://www.freedesktop.org/software/systemd/
16 lines
417 B
Bash
Executable File
16 lines
417 B
Bash
Executable File
#!/bin/sh
|
|
# Call the udev rule syntax checker on all rules that we ship
|
|
#
|
|
# (C) 2010 Canonical Ltd.
|
|
# Author: Martin Pitt <martin.pitt@ubuntu.com>
|
|
|
|
[ -n "$srcdir" ] || srcdir=`dirname $0`/..
|
|
|
|
# skip if we don't have python
|
|
type python >/dev/null 2>&1 || {
|
|
echo "$0: No python installed, skipping udev rule syntax check"
|
|
exit 0
|
|
}
|
|
|
|
$srcdir/test/rule-syntax-check.py `find $srcdir/rules -name '*.rules'`
|