mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 05:08:36 -06:00
bug fix
This commit is contained in:
parent
78e4407287
commit
77428d55eb
1 changed files with 0 additions and 5 deletions
5
makebk
5
makebk
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
# This simply makes a backup of a file as filename.bak
|
# This simply makes a backup of a file as filename.bak
|
||||||
|
|
||||||
if [[ -n "$1" ]];
|
|
||||||
then
|
|
||||||
cp "$1"{,.bak}
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $# -ge 1 ]; then
|
if [ $# -ge 1 ]; then
|
||||||
for f in $@
|
for f in $@
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue