Fix import file without absolute path
This commit is contained in:
parent
ca1c2b567e
commit
bce13fc1b6
|
@ -485,7 +485,6 @@ function import_pwsh_vault() {
|
|||
}
|
||||
|
||||
function import_pwsh_vault_param() {
|
||||
cd ${pwsh_vault}
|
||||
if [ -f "${1}" ] ; then
|
||||
echo "# Importing vault from zip file"
|
||||
unzip -o "${1}" -d ${pwsh_vault}
|
||||
|
|
|
@ -516,7 +516,6 @@ function import_pwsh_vault() {
|
|||
}
|
||||
|
||||
function import_pwsh_vault_param() {
|
||||
cd ${pwsh_vault}
|
||||
if [ -f "${1}" ] ; then
|
||||
echo "# Importing vault from zip file"
|
||||
unzip -o "${1}" -d ${pwsh_vault}
|
||||
|
|
Loading…
Reference in New Issue
Block a user