When a build fails kiss logs the path of the log file with an extra slash
AndreiSva opened this issue · 5 comments
AndreiSva commented
git-bruh commented
log "$pkg" "Log stored to $log_dir/$pkg-$time-$pid"
KISS can store logs in the path specified in the log_dir
environment variable so if you set it to a path without a trailing slash like log_dir=/tmp
, KISS would try to store the log in /tmptest-...
instead of /tmp/test...
so $log_dir/...
prevents failure in such cases.
AndreiSva commented
it appears log_dir
has a trailing slash by default then? I didn't specify a custom log directory and this happens :/
git-bruh commented
The extra slash is there to ensure that the path doesn't get messed up in case the path doesn't have a trailing slash so you get double slashes with the default path
illiliti commented
Extra slash is harmless. Please close the issue.
AndreiSva commented
alright