Export env var so the command string is shorter

This commit is contained in:
YoshiRulz 2019-08-12 20:16:35 +10:00
parent 196594e1df
commit 1992856655
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 2 additions and 1 deletions

View File

@ -17,4 +17,5 @@ if [ -z "$libpath" ]; then
printf "%s\n" "Unknown distro, assuming WINE library location is /usr/lib/wine..."
libpath="/usr/lib/wine"
fi
LD_LIBRARY_PATH="$libpath" mono ./EmuHawk.exe >EmuHawkMono_laststdout.txt
export LD_LIBRARY_PATH="$libpath"
mono ./EmuHawk.exe >EmuHawkMono_laststdout.txt