mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 16:40:07 -07:00
kiss: remove log feature for now.
This commit is contained in:
parent
0584c4099d
commit
870ad92b09
11
kiss
11
kiss
@ -480,9 +480,9 @@ pkg_build() {
|
|||||||
mkdir -p "$pkg_dir/$pkg/$pkg_db"
|
mkdir -p "$pkg_dir/$pkg/$pkg_db"
|
||||||
|
|
||||||
# Move to the build directory and call the build script.
|
# Move to the build directory and call the build script.
|
||||||
# This also saves the build output to a log file.
|
cd "$mak_dir/$pkg"
|
||||||
(cd "$mak_dir/$pkg"; fakeroot "$repo_dir/build" "$pkg_dir/$pkg" 2>&1 |
|
fakeroot "$repo_dir/build" "$pkg_dir/$pkg" ||
|
||||||
tee "$log_dir/$pkg-$date.log") || die "[$pkg]: Build failed."
|
die "[$pkg]: Build failed."
|
||||||
|
|
||||||
# Copy the repository files to the package directory.
|
# Copy the repository files to the package directory.
|
||||||
# This acts as the database entry.
|
# This acts as the database entry.
|
||||||
@ -1049,10 +1049,6 @@ main() {
|
|||||||
# variable is ever changed.
|
# variable is ever changed.
|
||||||
old_ifs=$IFS
|
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
|
# 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.
|
# up before we die. This occurs on 'Ctrl+C' as well as success and error.
|
||||||
trap pkg_clean EXIT INT
|
trap pkg_clean EXIT INT
|
||||||
@ -1065,7 +1061,6 @@ main() {
|
|||||||
"${tar_dir:=$cac_dir/extract-$pid}" \
|
"${tar_dir:=$cac_dir/extract-$pid}" \
|
||||||
"${src_dir:=$cac_dir/sources}" \
|
"${src_dir:=$cac_dir/sources}" \
|
||||||
"${bin_dir:=$cac_dir/bin}" \
|
"${bin_dir:=$cac_dir/bin}" \
|
||||||
"${log_dir:=$cac_dir/logs}" \
|
|
||||||
|| die "Couldn't create cache directories."
|
|| die "Couldn't create cache directories."
|
||||||
|
|
||||||
args "$@"
|
args "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user