Skip to content

Commit 01a11fc

Browse files
committed
Don't install .gitignore files in package directories
1 parent c070523 commit 01a11fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

M2/Macaulay2/m2/installPackage.m2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ installPackage Package := opts -> pkg -> (
719719
verboseLog("copying auxiliary source files from ", auxiliaryFilesDirectory);
720720
makeDirectory(installPrefix | srcDirectory);
721721
copyDirectory(auxiliaryFilesDirectory, installPrefix | srcDirectory,
722-
Exclude => {"^CVS$", "^\\.svn$", "Makefile"},
722+
Exclude => {"^CVS$", "^\\.svn$", "Makefile", "^\\.gitignore$"},
723723
UpdateOnly => true,
724724
Verbose => opts.Verbose or debugLevel > 0))
725725
else if pkgopts.AuxiliaryFiles

0 commit comments

Comments
 (0)