Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
alpine
abuild
Commits
36a55af4
Commit
36a55af4
authored
Feb 07, 2013
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: verify pkgdesc length
fixes
#1477
parent
3ac1b129
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
abuild.in
abuild.in
+3
-0
No files found.
abuild.in
View file @
36a55af4
...
...
@@ -132,6 +132,9 @@ default_sanitycheck() {
[
-z
"
$pkgdesc
"
]
&&
die
"Missing pkgdesc in APKBUILD"
[
-z
"
$url
"
]
&&
die
"Missing url in APKBUILD"
[
-z
"
$license
"
]
&&
die
"Missing license in APKBULID"
if
[
$(
echo
"
$pkgdesc
"
|
wc
-c
)
-gt
128
]
;
then
die
"pkgdesc is too long"
fi
if
[
-n
"
$replaces_priority
"
]
\
&&
!
echo
$replaces_priority
| egrep
-q
'^[0-9]+$'
;
then
...
...
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