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
81c88882
Commit
81c88882
authored
Aug 20, 2016
by
Jakub Jirutka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buildlab: replace echos in usage with heredoc
parent
948fedc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
27 deletions
+29
-27
buildlab.in
buildlab.in
+29
-27
No files found.
buildlab.in
View file @
81c88882
...
...
@@ -221,33 +221,35 @@ build_package() {
}
usage
()
{
echo
"buildlab
$program_version
"
echo
" "
echo
"Common options:"
echo
" "
echo
" -q Quiet operation"
echo
" -p Path to buildroot"
echo
" "
echo
"Creating build roots (buildlab -C):"
echo
" "
echo
" -m APK repository mirror"
echo
" -v APK distribution version"
echo
" -a APK repository architecture"
echo
" -k Enable APK caching"
echo
" "
echo
"Updating build roots (buildlab -u):"
echo
" "
echo
" No special options."
echo
" "
echo
"Building packages (buildlab -b):"
echo
" "
echo
" -b APKBUILD file"
echo
" "
echo
"Examples:"
echo
" "
echo
"sudo ./buildlab -C -p /home/nenolod/buildroot -m dl-3.alpinelinux.org -v edge -a x86_64"
echo
"sudo ./buildlab -b /home/nenolod/aports/main/gnome-panel/APKBUILD -p /home/nenolod/buildroot"
echo
"sudo ./buildlab -u -p /home/nenolod/buildroot"
cat
<<-
EOF
buildlab
$program_version
Common options:
-q Quiet operation
-p Path to buildroot
Creating build roots (buildlab -C):
-m APK repository mirror
-v APK distribution version
-a APK repository architecture
-k Enable APK caching
Updating build roots (buildlab -u):
No special options.
Building packages (buildlab -b):
-b APKBUILD file
Examples:
sudo ./buildlab -C -p /home/nenolod/buildroot -m dl-3.alpinelinux.org -v edge -a x86_64
sudo ./buildlab -b /home/nenolod/aports/main/gnome-panel/APKBUILD -p /home/nenolod/buildroot
sudo ./buildlab -u -p /home/nenolod/buildroot
EOF
}
unset
force
...
...
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