You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
apd: fix some module scripts won't add AP_MODULE environment var (#1474)
AP_MODULE environment var will only pass in exec_script, that's cause only stage-scripts, action.sh and uninstall scripts have this environment var
So, it cause customize.sh, and meta*.sh won't have this envionment var
And module developers will see them can't use apd module config set command,
because apd throw
`This command must be run in the context of a module or passed --internal <name>`
Taking the magic_mount_rs module as an example:
before:
```
APATCH='true'
```
after:
```
APATCH='true'
AP_MODULE='magic_mount_rs'
```
Co-authored-by: AlexLiuDev233 <wzylin11@outlook.com>