mirror of
https://github.com/sbrow/envr.git
synced 2025-12-29 23:47:39 -05:00
fix: Fixed pathing issue with age.
This commit is contained in:
3
mod.nu
3
mod.nu
@@ -43,7 +43,8 @@ def "open db" [] {
|
|||||||
} else {
|
} else {
|
||||||
# Open the db
|
# Open the db
|
||||||
let dec = mktemp -p ~/.envr;
|
let dec = mktemp -p ~/.envr;
|
||||||
age -d -i ((envr config show).priv_key | path expand) $db_path | save -f $dec
|
let priv_key = ((envr config show).priv_key | path expand);
|
||||||
|
age -d -i $priv_key ($db_path | path expand) | save -f $dec
|
||||||
stor import -f $dec
|
stor import -f $dec
|
||||||
rm $dec
|
rm $dec
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user