bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

update-copyright is broken


From: Brian C. Lane
Subject: update-copyright is broken
Date: Mon, 15 Jul 2019 16:50:26 -0700
User-agent: Mutt/1.12.0 (2019-05-25)

I think it was the change in commit a05d5d121b10f24 where it moved and
changed the exec code at line 1.

In parted with the latest gnulib I am getting these errors with 'make
update-copyright'

  GEN      update-copyright
Use of uninitialized value $_ in pattern match (m//) at 
./build-aux/update-copyright line 167.
Use of uninitialized value $_ in pattern match (m//) at 
./build-aux/update-copyright line 173.
Use of uninitialized value $ARGV in concatenation (.) or string at 
./build-aux/update-copyright line 285.
: warning: copyright statement not found

If I edit the new exec line to use the old one, but with -wSx, it works fine:

eval '(exit $?0)' && eval 'exec perl -wSx -0777 -pi "$0" ${1+"$@"}'
  & eval 'exec perl -wSx -0777 -pi "$0" $argv:q'
      if 0;

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted



reply via email to

[Prev in Thread] Current Thread [Next in Thread]