add 'export' before BORG_PASSPHRASE
This commit is contained in:
parent
f06458f1a0
commit
894269ec77
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user