Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
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
1
Merge Requests
1
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
Ximper Linux
mkimage-profiles
Commits
dad8f98e
Commit
dad8f98e
authored
Apr 10, 2022
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check-pkg-list: Made unified error messages
parent
db3892ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
check-pkg-list
bin/check-pkg-list
+5
-2
No files found.
bin/check-pkg-list
View file @
dad8f98e
...
...
@@ -12,7 +12,10 @@
RET_ERROR
=
error
()
{
echo
`
basename
$0
`
:
$*
>
&2
;
exit
1
;
}
error
()
{
echo
`
basename
$0
`
:
$*
>
&2
exit
1
}
exit_handler
()
{
local
rc
=
$?
...
...
@@ -51,7 +54,7 @@ check_pkglist() {
grep
-q
"
$pattern
"
"
$favaillist
"
||
echo
"
$i
"
>>
"
$fpkgerrors
"
done
<
"
$fpkgwildcards
"
if
[
-s
"
$fpkgerrors
"
]
;
then
echo
"
E
rror: Packages are not available in
$fprofilelist
:"
>
&2
echo
"
** e
rror: Packages are not available in
$fprofilelist
:"
>
&2
RET_ERROR
=
1
cat
$fpkgerrors
>
&2
fi
...
...
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