mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 13:17:45 +00:00
Ports: Add './package.sh shell' to get a shell with the build env set
This commit is contained in:
parent
e72448888b
commit
f1266335e7
2 changed files with 14 additions and 1 deletions
|
@ -489,13 +489,22 @@ do_all() {
|
|||
do_install "${1:-}"
|
||||
}
|
||||
|
||||
do_shell() {
|
||||
do_installdepends
|
||||
do_fetch
|
||||
do_patch
|
||||
cd "$workdir"
|
||||
bash
|
||||
echo "End of package shell. Back to the User shell."
|
||||
}
|
||||
|
||||
NO_GPG=false
|
||||
parse_arguments() {
|
||||
if [ -z "${1:-}" ]; then
|
||||
do_all
|
||||
else
|
||||
case "$1" in
|
||||
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
|
||||
fetch|patch|shell|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
|
||||
method=$1
|
||||
shift
|
||||
do_${method} "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue