diff --git a/borgaliasandfunctions.txt b/borgaliasandfunctions.txt index 9d914c8..964327b 100644 --- a/borgaliasandfunctions.txt +++ b/borgaliasandfunctions.txt @@ -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