Run abra.sh commands with /bin/bash if available. #357
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#357
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Commands run by abra.sh are always executed using
/bin/sh
.Writing sophisticated functions in
/bin/sh
can get quite complicated.Choosing
/bin/bash
to run commands if it is available would be very convenient.Related to coop-cloud/nextcloud#29 (comment)
Nice yep, some conditional logic to
which /bin/bash
in the remote should suffice. Then determining the shell from there? If onectrl-f
's in https://git.coopcloud.tech/coop-cloud/abra/src/branch/main/cli/app/cmd.go for/bin/sh
, it's the place to start.