commit 5178737bf30b916285be68dcc6dfb44f4995348b parent 3f6c34cd8ffe65d8166d3b74abbcdcf0af0de2ae Author: gearsix <gearsix@tuta.io> Date: Fri, 2 Jul 2021 21:20:32 +0100 minor fix in backup Diffstat:
M | src/backup.sh | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backup.sh b/src/backup.sh @@ -3,5 +3,4 @@ # description: backup $@ to $@.bak # e.g.$ backup ~/.bashrc ~/.vimrc -for f in ${@}; do cp $f $f.bak; done - +for f in ${@}; do cp "$f" "$f.bak"; done