Skip to content

Instantly share code, notes, and snippets.

@fzakaria
Created July 1, 2021 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fzakaria/14fe31932a0a9f1957f74f5ca8ab966c to your computer and use it in GitHub Desktop.
Save fzakaria/14fe31932a0a9f1957f74f5ca8ab966c to your computer and use it in GitHub Desktop.
fixupOutputHooks+=(autoStripNonDeterminism)
autoStripNonDeterminism() {
find $output -type f \
-exec strip-nondeterminism {}
}
@fzakaria
Copy link
Author

fzakaria commented Jul 1, 2021

It's safe to run for any file.
here is the full handled list:

our %KNOWN_HANDLERS = (
	bflt	=> 1,
	cpio	=> 1,
	gettext	=> 1,
	gzip	=> 1,
	jar	=> 1,
	javadoc	=> 1,
	uimage	=> 1,
	png	=> 1,
	javaproperties => 1,
	zip	=> 1,
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment