Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
f80415a9
Commit
f80415a9
authored
Mar 12, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pwrp_env fix for release script
parent
84b2768d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
src/exp/com/src/os_linux/pwrp_env.sh
src/exp/com/src/os_linux/pwrp_env.sh
+16
-16
No files found.
src/exp/com/src/os_linux/pwrp_env.sh
View file @
f80415a9
...
...
@@ -213,23 +213,23 @@ pwrc_prlist_read()
return
fi
let
i
=
0
let
j
=
0
pr_
i
=
0
pr_
j
=
0
while
read
name base root path descr
;
do
if
[
-n
"
$name
"
]
&&
[
"
${
name
:0:1
}
"
!=
"!"
]
&&
[
"
${
name
:0:1
}
"
!=
"#"
]
;
then
if
[
"
$name
"
==
"%base"
]
;
then
b_name_array[
$j
]=
$base
b_root_array[
$j
]=
$root
j
=
$
j
+1
b_name_array[
$
pr_
j
]=
$base
b_root_array[
$
pr_
j
]=
$root
pr_j
=
$pr_
j
+1
else
name_array[
$i
]=
$name
base_array[
$i
]=
$base
root_array[
$i
]=
$root
path_array[
$i
]=
$path
name_array[
$
pr_
i
]=
$name
base_array[
$
pr_
i
]=
$base
root_array[
$
pr_
i
]=
$root
path_array[
$
pr_
i
]=
$path
descr
=
${
descr
#\
"}
descr=
${
descr
%\
"}
desc_array[
$i
]=
$descr
i=
$
i
+1
desc_array[
$
pr_
i
]=
$descr
pr_i=
$pr_
i
+1
fi
fi
...
...
@@ -290,17 +290,17 @@ pwrc_prlist_list_project()
pwrc_prlist_get_index()
{
let
i=0
pr_
i=0
pwrc_status=
$pwrc__noproj
while [ "
${
name_array
[
$i
]
}
" != "" ]; do
if [ "
${
base_array
[
$
i
]
}
" != "" ] && [ "
${
name_array
[
$
i
]
}
" ==
$1
]; then
pwrc_current_index=
$i
while [ "
${
name_array
[
$
pr_
i
]
}
" != "" ]; do
if [ "
${
base_array
[
$
pr_i
]
}
" != "" ] && [ "
${
name_array
[
$pr_
i
]
}
" ==
$1
]; then
pwrc_current_index=
$
pr_
i
pwrc_status=
$pwrc__success
break;
fi
i=
$
i
+1
pr_i=
$pr_
i
+1
done
}
...
...
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