Changeset 109 for trunk/bundle
- Timestamp:
- Jan 8, 2015, 2:47:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bundle/bundle.bash
r61 r109 202 202 203 203 Load and Unload command must be enclose. 204 In a shell script,204 In an interactive shell, 205 205 it's very important to unload every bundle loaded! 206 206 … … 210 210 211 211 Load command in better in interactive shell. 212 212 213 If use in a script file, 213 you can indent your code. 214 you just have to remenber that load start a new shell, 215 and unload just exit it (but not work in script file) 216 217 bundle load intel/2011.7 <<'END_BUNDLE' 218 ifort -v 219 END_BUNDLE 220 221 It's better to use quote around END_BUNDLE, 222 current shell will not evaluate next command before passing them to sub-shell ! 223 224 Maybe it's then simpler to use source command and integrated sub-shell 225 226 ( bundle source intel/2011.7 227 ifort -v 228 ) 214 229 215 230 =head2 Source
Note: See TracChangeset
for help on using the changeset viewer.