Skip to content

Commit 6d8e6f6

Browse files
committed
Add a script to check which images are ok
1 parent ab024d8 commit 6d8e6f6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/check_images--help

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
#
4+
# Inspired by https://github.com/ReproNim/containers/issues/137#issuecomment-2877505303
5+
#
6+
git annex find --in here | grep '\.si*' | while read f; do
7+
{ singularity run "$f" --help 2>&1 && echo "$f: ok" || echo "$f: failed to execute --help" >&2; } | grep -q "no runscript" && echo "$f: no runscript" >&2;
8+
done

0 commit comments

Comments
 (0)