Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Apr 20, 2024
1 parent 9dac98a commit a783e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/shcode/ympbuild_header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ declare -r installdir="@buildpath@/output"
declare -r jobs="-j@jobs@"
export HOME="@buildpath@"
export USER="root"
export PREFIX="/usr"
export DESTDIR="$installdir"
export INSTALL_ROOT="$installdir"
declare -r YMPVER="@VERSION@"
Expand Down
4 changes: 2 additions & 2 deletions src/util/build.vala
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ public class builder {
}
if (need_install.length > 0) {
if (get_bool("install")) {
if(install_main(need_install) ! = 0){
if(install_main(need_install) != 0){
error_add(_("Packages build canceled."));
};
}
} else {
error_add(_("Packages is not installed: %s").printf(join(" ", need_install)));
}
Expand Down

0 comments on commit a783e2b

Please sign in to comment.