Skip to content

Commit c76b7c8

Browse files
committed
fixup! create-release-deb: additional debug prints added
1 parent 073ecc9 commit c76b7c8

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/create-release-deb.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,14 @@ jobs:
7373
dpkg-deb --info "$deb"
7474
7575
echo "--- matching entries in $deb"
76-
dpkg-deb -c "$deb" | grep -E '\./usr/bin/dls($|/)|\./usr/local|^drwx.*/usr/bin/?$' || true
77-
78-
if ! dpkg-deb -c "$deb" | grep -Fq './usr/bin/dls'; then
76+
dpkg-deb -c "$deb" | awk '
77+
/\.\/*usr\/bin\/dls($|\/)/ || /\.\/*usr\/local/ || /^drwx.*\.\/usr\/bin\/?$/ { print }
78+
'
79+
80+
if ! dpkg-deb -c "$deb" | awk '
81+
index($0, "./usr/bin/dls") { found=1 }
82+
END { exit(found ? 0 : 1) }
83+
'; then
7984
echo "ERROR: $deb does not contain /usr/bin/dls"
8085
exit 1
8186
fi

0 commit comments

Comments
 (0)