Wrapped calls to $(wildcard ) with $(sort) so that the resulting order
authorBoris Kolpackov <boris@kolpackov.net>
Sat, 13 Aug 2005 19:24:49 +0000 (19:24 +0000)
committerBoris Kolpackov <boris@kolpackov.net>
Sat, 13 Aug 2005 19:24:49 +0000 (19:24 +0000)
is no longer filesystem-dependant.

tests/ChangeLog
tests/scripts/functions/wildcard

index cb3edebcad333b3193c6d9db8e6f4bec57276bfb..9506a3f1bc764e359f5612686e6019ebe321ba61 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-13  Boris Kolpackov  <boris@kolpackov.net>
+
+       * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
+       $(sort) so that the resulting order is no longer filesystem-
+       dependant.
+
 2005-08-10  Boris Kolpackov  <boris@kolpackov.net>
 
        * scripts/features/statipattrules: Add a test for Savannah bug #13881.
index 5e5a5ff660d5e73ddd04ac942a5a124044fd492e..d7a50aad1dd5fa8aa57fcff854f0523d38c6c632 100644 (file)
@@ -29,13 +29,13 @@ open(MAKEFILE,"> $makefile");
 
 print MAKEFILE <<EOM;
 .PHONY: print1 print2 clean
-print1: ;\@echo \$(wildcard example.*)
+print1: ;\@echo \$(sort \$(wildcard example.*))
 print2:
-\t\@echo \$(wildcard example.?)
-\t\@echo \$(wildcard example.[a-z0-9])
-\t\@echo \$(wildcard example.[!A-Za-z_\\!])
+\t\@echo \$(sort \$(wildcard example.?))
+\t\@echo \$(sort \$(wildcard example.[a-z0-9]))
+\t\@echo \$(sort \$(wildcard example.[!A-Za-z_\\!]))
 clean:
-\t$delete_command \$(wildcard example.*)
+\t$delete_command \$(sort \$(wildcard example.*))
 EOM
 
 # END of Contents of MAKEFILE