diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-05-03 00:29:36 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-05-03 00:29:36 -0400 |
commit | 1a3f6289ccfbb15cd8e8c3d28a8ee198fa477a30 (patch) | |
tree | 8ad9dc98b220a9dff68c5dd1f92c56891244c2d1 | |
parent | 90ce65c0d0c0315a3213762cee052108fbee937d (diff) |
db-import-pkg: db-functions does not like my little subshellparabola/20180502.2
-rwxr-xr-x | db-import-pkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db-import-pkg b/db-import-pkg index be41d76..5ff35a8 100755 --- a/db-import-pkg +++ b/db-import-pkg @@ -205,8 +205,10 @@ make_repo_dbs() { ( # I'm nervous about loading db-functions in the global # scope. + set -eE . "$(dirname "$(readlink -e "$0")")/db-functions" set_repo_permission "$1" "$2" + trap - EXIT ) } |