Lines 7-16
Link Here
|
7 |
# Released under the GNU GPL. See LICENSE for more information |
7 |
# Released under the GNU GPL. See LICENSE for more information |
8 |
|
8 |
|
9 |
# Discover ies4linux installation folder |
9 |
# Discover ies4linux installation folder |
10 |
IES4LINUX=`dirname "$0"` |
10 |
IES4LINUX_RELPATH="$(test -L $0 && echo $(readlink $0) || echo $0)" |
|
|
11 |
IES4LINUX="$(dirname $IES4LINUX_RELPATH)" |
11 |
cd "$IES4LINUX" |
12 |
cd "$IES4LINUX" |
12 |
export IES4LINUX=`pwd` |
13 |
export IES4LINUX=`pwd` |
13 |
|
14 |
|
|
|
15 |
# Changes to the user's home directory, in case "$IES4LINUX" is not writable, |
16 |
# because executing `wine --version` (executed, notably, in "lib/messages.sh"), |
17 |
# while in a directory where the user does not have write permission, |
18 |
# leads to (unimportant?) warnings. |
19 |
cd "$HOME" |
20 |
|
14 |
# Create log file |
21 |
# Create log file |
15 |
# mkdir -p "$HOME"/.ies4linux |
22 |
# mkdir -p "$HOME"/.ies4linux |
16 |
# touch "$HOME"/.ies4linux/log |
23 |
# touch "$HOME"/.ies4linux/log |
Lines 40-48
Link Here
|
40 |
INSTALLIE2=0 |
47 |
INSTALLIE2=0 |
41 |
|
48 |
|
42 |
# Basic imports |
49 |
# Basic imports |
43 |
source lib/functions.sh |
50 |
source "$IES4LINUX"/lib/functions.sh |
44 |
source lib/terminal.sh |
51 |
source "$IES4LINUX"/lib/terminal.sh |
45 |
source lib/messages.sh |
52 |
source "$IES4LINUX"/lib/messages.sh |
46 |
|
53 |
|
47 |
# Get some command-line options. |
54 |
# Get some command-line options. |
48 |
# If an option is specified on the command line, the user won't be asked for it later on. |
55 |
# If an option is specified on the command line, the user won't be asked for it later on. |