Skip to content

Commit

Permalink
PMM-12899 remove a redundant directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Apr 2, 2024
1 parent 13b4f65 commit 6f9eac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/local/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ build_with_logs() {
local script="$1"
local start_time
local end_time
local script_name=$(basename $script)

if [ ! -f "$script" ]; then
echo "FATAL: script $script does not exist"
Expand All @@ -166,13 +167,14 @@ build_with_logs() {
start_time=$(date +%s)
if [ "$#" -gt 1 ]; then
shift
script_name="${script_name}:($1)"
$script "$@" | tee -a $LOG_FILE
else
$script | tee -a $LOG_FILE
fi
end_time=$(date +%s)

echo "Execution time for $script: $((end_time - start_time)) seconds" | tee -a $LOG_FILE
echo "Execution time (in sec) for $script_name: $((end_time - start_time))" | tee
}

init() {
Expand Down
Empty file removed update/ansible/.gitkeep
Empty file.

0 comments on commit 6f9eac8

Please sign in to comment.