mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
80b34bd7f8
p4#: 19320
16 lines
399 B
Bash
16 lines
399 B
Bash
#!/bin/sh
|
|
|
|
# Find the installation path. We assume that this script is placed in the installation directory.
|
|
INSTALL_PATH=$(dirname "$_")
|
|
|
|
# Store the users working directory
|
|
WORKING_DIR=`pwd`
|
|
|
|
# Change to application directory
|
|
cd "$INSTALL_PATH"
|
|
|
|
# Start the application making the default file open path become the users cwd
|
|
|
|
CommandLine="./ResInsight -startdir $WORKING_DIR $@"
|
|
exec $CommandLine
|