Aurelien Larcher
2019-08-27 41c75295266f08db4b374d86f9ee374f1132ec53
11624 Use of modern nawk(1) requires update of generate-history
1 files modified
6 ■■■■ changed files
tools/generate-history 6 ●●●● patch | view | raw | blame | history
tools/generate-history
@@ -3,7 +3,7 @@
# s|/|---| on $1 matches TARGET, we generate a manifest.
{
  if (substr($1, 1, 1) == "#") { # Skip comments.
    continue
    next
  }
  fmri=$1
  split(fmri, a, "@")
@@ -11,10 +11,10 @@
  target = sprintf("%s.p5m", a[1])
  if (FUNCTION == "name") {
    printf "%s\n", target
    continue
    next
  }
  if (target != TARGET) {
    continue
    next
  }
  printf "set name=pkg.fmri value=pkg:/%s\n", fmri