Skip to content

Commit a599322

Browse files
committed
Rename bm_file_path to bm_init
Should make the intention a bit more clear.
1 parent ea727ce commit a599322

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bin/ghe-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ if [ "$GHE_BACKUP_STRATEGY" = "tarball" ]; then
121121
fi
122122

123123
# Create benchmark file
124-
bm_file_path > /dev/null
124+
bm_init > /dev/null
125125

126126
ghe-backup-store-version ||
127127
echo "Warning: storing backup-utils version remotely failed."

bin/ghe-restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ if $instance_configured; then
203203
fi
204204

205205
# Create benchmark file
206-
bm_file_path > /dev/null
206+
bm_init > /dev/null
207207

208208
ghe-backup-store-version ||
209209
echo "Warning: storing backup-utils version remotely failed."

share/github-backup-utils/bm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ bm_start()
1818
{
1919
eval "$(bm_desc_to_varname $@)_start=$(date +%s)"
2020

21-
bm_file_path > /dev/null
21+
bm_init > /dev/null
2222
}
2323

24-
bm_file_path() {
24+
bm_init() {
2525
if [ -n "$BM_FILE_PATH" ]; then
2626
echo $BM_FILE_PATH
2727
return

0 commit comments

Comments
 (0)