Ticket #1895: fmake.patch
File fmake.patch, 899 bytes (added by mdunphy, 7 years ago) |
---|
-
NEMOGCM/TOOLS/COMPILE/Fmake_WORK.sh
# HG changeset patch # User Michael Dunphy # Date 1494271255 25200 # Mon May 08 12:20:55 2017 -0700 # Node ID 4979fc15317c1c899697c1b89d5a64d688917253 # Parent e0e82550c50fb118f913c229a54df27893b11657 Patch Fmake_WORK.sh to bypass any alias for 'ls' Without this adjustment, users who alias 'ls' to include the -F flag get an incorrect WORK directory if their configuration's MY_SRC contains symlinks. diff -r e0e82550c50f -r 4979fc15317c NEMOGCM/TOOLS/COMPILE/Fmake_WORK.sh
a b 104 104 let i=$i+1 105 105 done 106 106 107 for i in `(cd ${ZCONF}/MY_SRC ; ls *.[Ffh]90 2>/dev/null ) `107 for i in `(cd ${ZCONF}/MY_SRC ; \ls *.[Ffh]90 2>/dev/null ) ` 108 108 do 109 109 [ -f ${ZCONF}/MY_SRC/$i ] && ln -sf $PWD/${ZCONF}/MY_SRC/${i} ${ZCONF}/WORK/. 110 110 done