Package: cdbs
Version: 0.4.156
Severity: minor

Hi Jonas, hi all,

When creating a copyright template file for src:pkg libzypp, I get the below error from licensecheck2deb5:

```
[mike@minobo libzypp (master)]$ update-copyright.in
Use of uninitialized value in substitution (s///) at /usr/lib/cdbs/licensecheck2dep5 line 93, <> line 2426. Use of uninitialized value in substitution (s///) at /usr/lib/cdbs/licensecheck2dep5 line 94, <> line 2426. Use of uninitialized value in substitution (s///) at /usr/lib/cdbs/licensecheck2dep5 line 97, <> line 2426. Use of uninitialized value in substitution (s///) at /usr/lib/cdbs/licensecheck2dep5 line 99, <> line 2426. Use of uninitialized value in substitution (s///) at /usr/lib/cdbs/licensecheck2dep5 line 100, <> line 2426. Use of uninitialized value in substitution (s///) at /usr/lib/cdbs/licensecheck2dep5 line 101, <> line 2426. Use of uninitialized value in join or string at /usr/lib/cdbs/licensecheck2dep5 line 115, <> line 2426. Use of uninitialized value in sort at /usr/lib/cdbs/licensecheck2dep5 line 127, <> line 2426. Use of uninitialized value in join or string at /usr/lib/cdbs/licensecheck2dep5 line 127, <> line 2426. Use of uninitialized value $patternlicense{"\nNONE"} in concatenation (.) or string at /usr/lib/cdbs/licensecheck2dep5 line 129, <> line 2426.
```

The script I use is this:

```
#!/bin/bash
d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done

if [ -d $d/debian ]; then
        cd "$d"
licensecheck -c '^((?!\.(png|qm|mo)$).)*$' --copyright -r `find * -type f` | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright.in
        cd - 1>/dev/null
else
        echo "ERROR: not insinde a Debian source package tree."
```

Any clue what is happening here?

Thanks+Greets,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://das-netzwerkteam.de

Attachment: pgpgtGfC5qD_K.pgp
Description: Digitale PGP-Signatur

Reply via email to