fix script path
This commit is contained in:
@ -12,6 +12,12 @@ outputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: "Print inputs"
|
||||
shell: bash
|
||||
run: "echo 'PKGBUILD_PATH: $PKGBUILD_PATH'; echo 'SRCINFO_PATH: $SRCINFO_PATH'"
|
||||
env:
|
||||
PKGBUILD_PATH: ${{ inputs.pkgbuild-path }}
|
||||
SRCINFO_PATH: ${{ inputs.srcinfo-path }}
|
||||
- name: "Make SRCINFO"
|
||||
shell: bash
|
||||
run: "$GITHUB_ACTION_PATH/mksrcinfo.sh $PKGBUILD_PATH > $SRCINFO_PATH"
|
||||
|
||||
@ -8,7 +8,9 @@ section_array_fields=(arch groups license noextract options backup validpgpkeys
|
||||
section_fields=("${section_scalar_fields[@]}" "${section_array_fields[@]}")
|
||||
|
||||
# load PKGBUILD
|
||||
set -e
|
||||
source "${1:-./PKGBUILD}"
|
||||
set +e
|
||||
|
||||
# check if a variable is an array
|
||||
is_array() {
|
||||
|
||||
Reference in New Issue
Block a user