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
Mikhail Tergoev
PortWINE
Commits
249039c0
Commit
249039c0
authored
Dec 03, 2025
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Boria138-show-ppdb-comments' into devel
parents
b88b88ac
881ca619
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
start.sh
data_from_portwine/scripts/start.sh
+11
-6
No files found.
data_from_portwine/scripts/start.sh
View file @
249039c0
...
...
@@ -493,17 +493,22 @@ $(echo $files_from_autoinstall | awk '{for (i = 1; i <= NF; i++) {if (i % 10 ==
esac
ppdb_path
=
"
${
exe_path
}
.ppdb"
if
[[
!
-f
"
$ppdb_path
"
]]
;
then
export
portwine_exe
=
"
$exe_path
"
pw_init_db
fi
grep
-E
'^export '
"
$ppdb_path
"
|
sed
'/^[[:space:]]*$/d'
|
while
IFS
=
'='
read
-r
var val
;
do
[[
-z
"
$var
"
]]
&&
continue
var_name
=
$(
echo
"
$var
"
|
sed
's/^export[[:space:]]*//'
)
val_clean
=
$(
echo
"
$val
"
|
sed
's/^"//; s/"$//'
)
echo
"
${
var_name
}
=
${
val_clean
}
"
grep
-E
'^export '
"
$ppdb_path
"
\
|
sed
'/^[[:space:]]*$/d'
\
|
while
IFS
=
read
-r
line
;
do
line
=
"
${
line
#export
}
"
if
[[
"
$line
"
=
~ ^
([
^
=]
+
)=
\"
([
^
\"
]
*
)
\"
[[
:space:]]
*
#.*$ ]]; then
echo
"
${
BASH_REMATCH
[1]
}
=
\"
${
BASH_REMATCH
[2]
}
\"
"
elif
[[
"
$line
"
=
~ ^
([
^
=]
+
)=([
^#[:space:]]+
)[[
:space:]]
*
#.*$ ]]; then
echo
"
${
BASH_REMATCH
[1]
}
=
${
BASH_REMATCH
[2]
}
"
else
echo
"
$line
"
fi
done
exit
0
;;
...
...
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