add 'export' before BORG_PASSPHRASE

This commit is contained in:
Djan 2021-04-11 10:16:19 +02:00
parent f06458f1a0
commit 894269ec77
1 changed files with 3 additions and 3 deletions

View File

@ -311,7 +311,7 @@ function bobadeleter {
sed -i 's/^/#borg delete -v .::/' $file
sed -i '1s/^/\n/' $file
sed -i '1s/^/BORG_PASSPHRASE=\"\"\n/' $file
sed -i '1s/^/export BORG_PASSPHRASE=\"\"\n/' $file
sed -i '1s/^/#Quick and dirty fix for repo with passphrase\n/' $file
sed -i '1s/^/\n/' $file
sed -i '1s/^/#Watch out you'\''re doing, there won'\''t be other confirmation\n/' $file
@ -339,7 +339,7 @@ function bobagrepdeleter {
sed -i 's/^/#borg delete -v .::/' $file
sed -i '1s/^/\n/' $file
sed -i '1s/^/BORG_PASSPHRASE=\"\"\n/' $file
sed -i '1s/^/export BORG_PASSPHRASE=\"\"\n/' $file
sed -i '1s/^/#Quick and dirty fix for repo with passphrase\n/' $file
sed -i '1s/^/\n/' $file
sed -i '1s/^/#Watch out you'\''re doing, there won'\''t be other confirmation.\n/' $file
@ -382,7 +382,7 @@ function bobarenamer {
sed -i '1s/^/\n/' $script
sed -i '1s/^/\n/' $script
sed -i '1s/^/BORG_PASSPHRASE=\"\"\n/' $script
sed -i '1s/^/export BORG_PASSPHRASE=\"\"\n/' $script
sed -i '1s/^/#Quick and dirty fix for repo with passphrase\n/' $script
sed -i '1s/^/\n/' $script
sed -i '1s/^/#Modifications in this file will be applied\, comment all to cancel\.\n/' $script