forked from kiss-community/kiss
kiss: Rename .build file to .build-kiss
This commit is contained in:
parent
c898c04bc8
commit
9228f77274
4
kiss
4
kiss
@ -619,7 +619,7 @@ pkg_build() {
|
|||||||
|
|
||||||
# Copy the build file to the build directory to users to modify it
|
# Copy the build file to the build directory to users to modify it
|
||||||
# temporarily at runtime.
|
# temporarily at runtime.
|
||||||
cp -f "$repo_dir/build" "$mak_dir/$pkg/.build"
|
cp -f "$repo_dir/build" "$mak_dir/$pkg/.build.kiss"
|
||||||
|
|
||||||
log "$pkg" "Starting build"
|
log "$pkg" "Starting build"
|
||||||
run_hook pre-build "$pkg" "$pkg_dir/$pkg"
|
run_hook pre-build "$pkg" "$pkg_dir/$pkg"
|
||||||
@ -627,7 +627,7 @@ pkg_build() {
|
|||||||
# Call the build script, log the output to the terminal and to a file.
|
# Call the build script, log the output to the terminal and to a file.
|
||||||
# There's no PIPEFAIL in POSIX shelll so we must resort to tricks like
|
# There's no PIPEFAIL in POSIX shelll so we must resort to tricks like
|
||||||
# killing the script ourselves.
|
# killing the script ourselves.
|
||||||
{ ./.build "$pkg_dir/$pkg" "$build_version" 2>&1 || {
|
{ ./.build.kiss "$pkg_dir/$pkg" "$build_version" 2>&1 || {
|
||||||
log "$pkg" "Build failed"
|
log "$pkg" "Build failed"
|
||||||
log "$pkg" "Log stored to $log_dir/$pkg-$time-$pid"
|
log "$pkg" "Log stored to $log_dir/$pkg-$time-$pid"
|
||||||
run_hook build-fail "$pkg" "$pkg_dir/$pkg"
|
run_hook build-fail "$pkg" "$pkg_dir/$pkg"
|
||||||
|
Loading…
Reference in New Issue
Block a user