Skip to content

Commit

Permalink
fix: force shell to be bash (#6)
Browse files Browse the repository at this point in the history
If you are using something other than bash for your host shell (zsh for
example), which are not available on the build env, the shell will not
execute and the right pane is empty. To prevent this, the shell need to
be forced to bash.

This fixes #4
  • Loading branch information
f0086 authored Dec 14, 2023
1 parent eba365f commit 3e85bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alpkg
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ create-pkg-script() {
cat <<-'_EOF_' >"$CHROOT_DIR/$PACKAGE_DIR/pkg.sh"
#!/usr/bin/env bash
set -e
export SHELL=bash
pkg=""
lint_pkg=false
edit_pkg=true
Expand Down

0 comments on commit 3e85bc8

Please sign in to comment.