bugfix bf()
This commit is contained in:
parent
625bc38673
commit
7e523091c6
|
@ -206,8 +206,8 @@ mv "$1" $TMPFILE && mv "$2" "$1" && mv $TMPFILE $2
|
||||||
}
|
}
|
||||||
bf ()
|
bf ()
|
||||||
{
|
{
|
||||||
DATE=$(/bin/date +%Y-%m-%d_%H:%M:%S.%N)
|
DATE=$(/bin/date +%Y-%m-%d_%H:%M:%S.%N);
|
||||||
local TMPFILE=tmp.${DATE}.bak
|
local TMPFILE=${1}.${DATE}.bak;
|
||||||
/bin/cp "$1" $TMPFILE
|
/bin/cp "$1" $TMPFILE
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue