FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

improve corner cases handling · feibyte/docker-python@c33c004 · GitHub

Commit c33c004

Browse files
committed
improve corner cases handling
1 parent 2d67869 commit c33c004

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎diff‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
set -e
3+
24
usage() {
35
cat << EOF
46
Usage: $0 [OPTIONS]
@@ -46,7 +48,8 @@ docker pull "$BASE_IMAGE_TAG"
4648
CMDS=('dpkg-query --show -f "${Package}==${Version}\n"' 'pip freeze')
4749
for cmd in "${CMDS[@]}"; do
4850
echo "== Comparing $cmd =="
49-
diff --report-identical-files --suppress-common-lines --side-by-side \
51+
diff --suppress-common-lines --side-by-side \
5052
<(docker run --rm "$BASE_IMAGE_TAG" $cmd) \
51-
<(docker run --rm "$TARGET_IMAGE_TAG" $cmd)
53+
<(docker run --rm "$TARGET_IMAGE_TAG" $cmd) \
54+
&& echo "No diff" || true
5255
done

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL