Skip to content

Commit

Permalink
Change log directory timestamp from seconds to %Y-%m-%d_%H:%M:%S
Browse files Browse the repository at this point in the history
  • Loading branch information
h3ndrk committed Apr 21, 2024
1 parent ea2452a commit 299b5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-hulks/recipes-hulks/hulk/hulk/launchHULK
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

CURRENT_DATE=$(date +%s)
CURRENT_DATE=$(date +%F_%T)
INTERNAL_LOG_PATH=/home/nao/hulk/logs/${CURRENT_DATE}
EXTERNAL_LOG_PATH=$(grep -m1 '^/dev/sda1' /proc/mounts | cut -d ' ' -f 2)/logs

Expand Down

0 comments on commit 299b5c6

Please sign in to comment.