The value of applicationDirectorySuffix may also be a function of no arguments, in which case its value is used as the path. The initial value of applicationDirectorySuffix is a function whose value depends on the operating system and its conventions.
i1 : applicationDirectorySuffix() o1 = .Macaulay2/ |
i2 : applicationDirectory() o2 = /builddir/.Macaulay2/ |
i3 : applicationDirectorySuffix = "local/Mac2" warning: 'applicationDirectorySuffix' redefined /builddir/build/BUILD/M2-version-1.9.2/M2/Macaulay2/d/startup.m2.in:252:6-252:32: here is the first use of 'applicationDirectorySuffix' : debug with expression debug 6978 or with command line option --debug 6978 o3 = local/Mac2 |
i4 : applicationDirectory() o4 = /builddir/local/Mac2 |
../../../../../Macaulay2/d/startup.m2.in:252:38-254:41: --source code: applicationDirectorySuffix = () -> ( if version#"operating system" === "Darwin" then "Library/Application Support/Macaulay2/" else ".Macaulay2/" );