Changeset 32005 for main/trunk/greenstone2
- Timestamp:
- 2017-09-28T18:58:45+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.sh
r32004 r32005 6 6 # If you pass in imagemagick, it will grab the appropriate linux/darwin binary, untar 7 7 # this and put its OS subfolder renamed as imagemagick into the bin/os folder. 8 9 # Note, Mac (darwin) machines don't always display all env vars on doing env/printenv, 10 # e.g. DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH are hidden 11 # To display hidden vars follow: 12 # http://www.commandlinefu.com/commands/view/6899/print-all-environment-variables-including-hidden-ones 13 # but remove capital T from command, making: for _a in {A..Z} {a..z};do _z=\${!${_a}*};for _i in `eval echo "${_z}"`;do echo -e "$_i: ${!_i}";done;done|cat -Tsv 14 # into: for _a in {A..Z} {a..z};do _z=\${!${_a}*};for _i in `eval echo "${_z}"`;do echo -e "$_i: ${!_i}";done;done|cat -sv 15 # Can redirect the output of the command into files and do a diff to see difference in environment. 8 16 9 17 getgnomelib= … … 117 125 popd 118 126 fi 127 128 # the setup script in the ext/imagemagick folder clashes with wget because it sets DYLD(_FALLBACK)_LIBRARY_PATH 129 # on sourcing GS2's setup.bash. Since we're not using the imagemagick in the ext folder for GS2, as the 130 # precompiled imagemagick binary is moved into GS2/bin/OS, in a GS2 bin release and now here too (in a compiled GS2), 131 # we can remove ext/imagemagick. The env vars it sets refer to the ext/imagemagick folder anyway, which we don't use 132 # for our GS2 binaries, or for GS2 compiled versions using the precompiled imagemagick binary, as imagemagick will 133 # live in GS2/bin/OS in such cases.. 134 rm -rf ext/imagemagick 119 135 120 136 fi
Note:
See TracChangeset
for help on using the changeset viewer.