diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-17 14:50:20 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-17 14:50:20 -0400 |
| commit | 9ee87d57670ef0bdf360bdb99e71ef278d770755 (patch) | |
| tree | f71313285fb9bba0b897588b53610843a884d0f6 /local-tomo | |
| parent | f7d91f89bb4545d09f3cd19335b51a40497899ef (diff) | |
Fix for local-tomo to use vars if defined
Diffstat (limited to 'local-tomo')
| -rwxr-xr-x | local-tomo | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,8 +5,8 @@ if [ ! -e "$here/build/bin/tomo" ]; then exit 1; fi -PATH="$here/build/bin:$PATH" \ -LD_LIBRARY_PATH="$here/build/lib" \ -LIBRARY_PATH="$here/build/lib" \ -C_INCLUDE_PATH="$here/build/include" \ +PATH="$here/build/bin${PATH:+:$PATH}" \ +LD_LIBRARY_PATH="$here/build/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" \ +LIBRARY_PATH="$here/build/lib${LIBRARY_PATH:+:$LIBRARY_PATH}" \ +C_INCLUDE_PATH="$here/build/include${C_INCLUDE_PATH:+:$C_INCLUDE_PATH}" \ tomo "$@" |
