devtools: make log checking script BSD-compatible
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 23 Mar 2017 15:09:26 +0000 (15:09 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Mar 2017 21:45:56 +0000 (23:45 +0200)
commita3e34aa85dbc2aeefc0ea2ddbea50f41748d2e13
tree0d467f1fdd66b279f49b4c72b96be40a9ff3f227
parentfeb9f680cd2c1df3d47bf4c05dc872467176e1e3
devtools: make log checking script BSD-compatible

The -e flag to readlink doesn't exist on FreeBSD so change it to -f instead
which is present on both BSD and Linux. Error reported is:

  readlink: illegal option -- e
  usage: readlink [-fn] [file ...]
  usage: dirname string [...]
  ./devtools/check-git-log.sh: /git-log-fixes.sh: not found

Fixes: 814c8822ef7b ("scripts: check cc stable mailing list in commit")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
devtools/check-git-log.sh