Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE
Commits
25f4046f
Commit
25f4046f
authored
Apr 27, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Boria138-gettext-fallback'
parents
464d0d8d
0a7fea45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
start.sh
data_from_portwine/scripts/start.sh
+7
-3
No files found.
data_from_portwine/scripts/start.sh
View file @
25f4046f
...
@@ -46,12 +46,16 @@ fi
...
@@ -46,12 +46,16 @@ fi
cd
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
&&
PORT_SCRIPTS_PATH
=
"
$(
pwd
)
"
||
fatal
cd
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
&&
PORT_SCRIPTS_PATH
=
"
$(
pwd
)
"
||
fatal
cd
"
${
PORT_SCRIPTS_PATH
}
/../../"
&&
PORT_WINE_PATH
=
"
$(
pwd
)
"
||
fatal
cd
"
${
PORT_SCRIPTS_PATH
}
/../../"
&&
PORT_WINE_PATH
=
"
$(
pwd
)
"
||
fatal
export
PORT_SCRIPTS_PATH PORT_WINE_PATH
export
PORT_SCRIPTS_PATH PORT_WINE_PATH
# shellcheck source=/dev/null
source
gettext.sh
export
TEXTDOMAIN
=
"PortProton"
export
TEXTDOMAIN
=
"PortProton"
export
TEXTDOMAINDIR
=
"
${
PORT_WINE_PATH
}
/data/locales"
export
TEXTDOMAINDIR
=
"
${
PORT_WINE_PATH
}
/data/locales"
if
[[
-d
"
$TEXTDOMAINDIR
"
]]
&&
command
-v
gettext.sh &>/dev/null
;
then
# shellcheck source=/dev/null
source
gettext.sh
else
eval_gettext
()
{
echo
"
$1
"
;
}
fi
# shellcheck source=./functions_helper
# shellcheck source=./functions_helper
source
"
${
PORT_SCRIPTS_PATH
}
/functions_helper"
source
"
${
PORT_SCRIPTS_PATH
}
/functions_helper"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment