Skip to content

Commit 19304bb

Browse files
Merge pull request #134 from bradmwilliams/dictionary-order-fix
Forcing dictionary order
2 parents ec981bc + 8dabad7 commit 19304bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ansible/rebuild_module.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ fi
1919

2020
pushd "$PACKAGES_DIR"
2121
# Update module digest so that pr.groovy can ensure it is run after each module change
22-
cat $(find openshift/ -name '*.py' | sort) | md5sum > $DIR/rebuild_module.digest
23-
ENCODED_TGZ=$(tar c --owner=0 --numeric-owner --group=0 --mtime='UTC 2019-01-01' $(find openshift/ -name '*.py' | sort) | gzip -c -n | base64 --wrap=0)
22+
cat $(find openshift/ -name '*.py' | sort -d) | md5sum > $DIR/rebuild_module.digest
23+
ENCODED_TGZ=$(tar c --owner=0 --numeric-owner --group=0 --mtime='UTC 2019-01-01' $(find openshift/ -name '*.py' | sort -d) | gzip -c -n | base64 --wrap=0)
2424
popd
2525

2626
echo "#!/usr/bin/env python" > $OUTPUT_FILE
@@ -45,4 +45,4 @@ done < "$TEMPLATE_FILE"
4545
if [[ "$replaced" != "1" ]]; then
4646
echo "Unable to find replacement pattern in template"
4747
exit 1
48-
fi
48+
fi

0 commit comments

Comments
 (0)