diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-18 17:30:56 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-18 17:30:56 +0000 |
commit | 3f8b570ff2fa472180726b240c44ee6dbf0a5870 (patch) | |
tree | 8a4525bf462f54c245fef8d9b30aca21fca937b9 /kiss | |
parent | 73c6cdd13f567f5ff97889d43626da6b7a8f4d23 (diff) | |
download | cpt-3f8b570ff2fa472180726b240c44ee6dbf0a5870.tar.gz |
kiss: remove log feature for now.
FossilOrigin-Name: 2999d118d49e7e5e04ce02984ee929ae845e4f128153a43235b2b733e83aad2e
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -480,9 +480,9 @@ pkg_build() { mkdir -p "$pkg_dir/$pkg/$pkg_db" # Move to the build directory and call the build script. - # This also saves the build output to a log file. - (cd "$mak_dir/$pkg"; fakeroot "$repo_dir/build" "$pkg_dir/$pkg" 2>&1 | - tee "$log_dir/$pkg-$date.log") || die "[$pkg]: Build failed." + cd "$mak_dir/$pkg" + fakeroot "$repo_dir/build" "$pkg_dir/$pkg" || + die "[$pkg]: Build failed." # Copy the repository files to the package directory. # This acts as the database entry. @@ -1049,10 +1049,6 @@ main() { # variable is ever changed. old_ifs=$IFS - # Store the current date to properly name log files. This may also be - # used later for other functionality. - date=$(date +%F-%T) - # Catch errors and ensure that build files and directories are cleaned # up before we die. This occurs on 'Ctrl+C' as well as success and error. trap pkg_clean EXIT INT @@ -1065,7 +1061,6 @@ main() { "${tar_dir:=$cac_dir/extract-$pid}" \ "${src_dir:=$cac_dir/sources}" \ "${bin_dir:=$cac_dir/bin}" \ - "${log_dir:=$cac_dir/logs}" \ || die "Couldn't create cache directories." args "$@" |