ed39f67745
- Use a mostly dynamic packing list - Use USE_X_PREFIX, now that it supports USE_LINUX - Use SUB_FILES - No need to mkdir ${PREFIX}/bin
12 lines
266 B
Bash
12 lines
266 B
Bash
#!/bin/sh
|
|
|
|
export UT2004_DATA_PATH="%%UTDIR%%/System"
|
|
|
|
if [ -n "$LD_LIBRARY_PATH" ]; then
|
|
export LD_LIBRARY_PATH="$UT2004_DATA_PATH:$LD_LIBRARY_PATH"
|
|
else
|
|
export LD_LIBRARY_PATH="$UT2004_DATA_PATH"
|
|
fi
|
|
|
|
cd "$UT2004_DATA_PATH" || exit 1
|
|
exec ./ut2004-bin "$@"
|