Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
abuild
Commits
4bc9e3dd
Commit
4bc9e3dd
authored
Sep 08, 2015
by
Natanael Copa
Browse files
abuild: add -K for keeping tempdirs and deps
parent
92186b70
Changes
1
Hide whitespace changes
Inline
Side-by-side
abuild.in
View file @
4bc9e3dd
...
...
@@ -2041,6 +2041,7 @@ Options:
-h Show this help
-i Install PKG after successful build
-k Keep built packages, even if APKBUILD or sources are newer
-K Keep buildtime temp dirs and files (srcdir/pkgdir/deps)
-m Disable colors (monochrome)
-p Set package destination directory
-P Set PKGDEST to REPODEST/<repo>/
\$
CARCH, where repo is the parents dir name
...
...
@@ -2080,7 +2081,7 @@ EOF
APKBUILD
=
"
${
APKBUILD
:-
./APKBUILD
}
"
unset
force
unset
recursive
while
getopts
"AcdfFhi:kimnp:P:qrRs:u"
opt
;
do
while
getopts
"AcdfFhi:k
K
imnp:P:qrRs:u"
opt
;
do
case
$opt
in
'A'
)
echo
"
$CARCH
"
;
exit
0
;;
'c'
)
enable_colors
...
...
@@ -2091,6 +2092,7 @@ while getopts "AcdfFhi:kimnp:P:qrRs:u" opt; do
'h'
)
usage
;;
'i'
)
install_after
=
"
$install_after
$OPTARG
"
;;
'k'
)
keep
=
"-k"
;;
'K'
)
CLEANUP
=
""
ERROR_CLEANUP
=
""
;;
'm'
)
disable_colors
color_opt
=
"-m"
;;
'n'
)
die
"Use newapkbuild to create new aports"
;;
...
...
Write
Preview
Supports
Markdown
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