projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
353d2f0
)
very nice, nearly there...
author
Chris Koeritz
<fred@gruntose.com>
Wed, 15 Nov 2017 04:50:12 +0000
(23:50 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 15 Nov 2017 04:50:12 +0000
(23:50 -0500)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index dee26d6b4fae1a78dcb624508f631b1653960041..5346e8a2684aa8760036a5385d413c134c04aa9a 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-868,7
+868,7
@@
return 0
#var filename seeker numlines
# make a backup first, oy.
- \cp -f "$filename" "
$filename
.bkup-${RANDOM}"
+ \cp -f "$filename" "
/tmp/$(basename ${filename})
.bkup-${RANDOM}"
test_or_die "backing up file: $filename"
# make a temp file to write to before we move file into place in bind.