Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakub Panek
aports
Commits
a3dca8d6
Commit
a3dca8d6
authored
15 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
abuild: use apk version --check to verify the pkgver
parent
482d9bf5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
abuild.in
+2
-2
2 additions, 2 deletions
abuild.in
with
2 additions
and
2 deletions
abuild.in
+
2
−
2
View file @
a3dca8d6
...
@@ -95,8 +95,8 @@ sanitycheck() {
...
@@ -95,8 +95,8 @@ sanitycheck() {
[
-z
"
$pkgname
"
]
&&
die
"Missing pkgname in APKBUILD"
[
-z
"
$pkgname
"
]
&&
die
"Missing pkgname in APKBUILD"
[
-z
"
${
pkgname
##* *
}
"
]
&&
die
"pkgname contains spaces"
[
-z
"
${
pkgname
##* *
}
"
]
&&
die
"pkgname contains spaces"
[
-z
"
$pkgver
"
]
&&
die
"Missing pkgver in APKBUILD"
[
-z
"
$pkgver
"
]
&&
die
"Missing pkgver in APKBUILD"
[
"
${
pk
g
ver
##[0-9]
}
"
==
"
$pkgver
"
]
&&
\
a
pk
ver
sion
--check
-q
"
$pkgver
"
||
\
die
"pkgver
doe
s not
start with a digit
"
die
"
$
pkgver
i
s not
a valid version
"
[
-z
"
$pkgrel
"
]
&&
warning
"Missing pkgrel in APKBUILD. Using pkgrel=0"
[
-z
"
$pkgrel
"
]
&&
warning
"Missing pkgrel in APKBUILD. Using pkgrel=0"
[
-z
"
$pkgdesc
"
]
&&
die
"Missing pkgdesc in APKBUILD"
[
-z
"
$pkgdesc
"
]
&&
die
"Missing pkgdesc in APKBUILD"
[
-z
"
$url
"
]
&&
die
"Missing url in APKBUILD"
[
-z
"
$url
"
]
&&
die
"Missing url in APKBUILD"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment