1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

support encrypted files in "yadm list"

* export some helper functions to hooks
This commit is contained in:
Martin Zuther
2019-12-29 15:21:55 +01:00
parent bd19e31c6e
commit 45b218d5c1
2 changed files with 79 additions and 0 deletions

6
yadm
View File

@@ -1591,6 +1591,12 @@ function invoke_hook() {
export YADM_HOOK_WORK
export YADM_ENCRYPT_INCLUDE_FILES
# export helper functions
export -f builtin_dirname
export -f relative_path
export -f unix_path
export -f mixed_path
"$hook_command"
hook_status=$?