Skip to content

Commit

Permalink
non ymp builder target allowed when usrmerge enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed May 26, 2024
1 parent 3af0090 commit e934349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/operations/package-manager/build.vala
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ private bool no_src = false;
private static int build_operation (string[] args) {
string current_directory=pwd ();
string[] new_args = args;
if (usr_is_merged ()) {
error_add (_ ("Build operation with usrmerge is not allowed!"));
error (31);
}
if (new_args.length == 0) {
new_args = {pwd()};
}
Expand Down
4 changes: 4 additions & 0 deletions src/util/builder_target/ymp.vala
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
public void build_target_ymp_init() {
if (usr_is_merged ()) {
error_add (_ ("Build operation with usrmerge is not allowed!"));
error (31);
}
build_target ymp_target = new build_target();
ymp_target.suffix = "ymp";
ymp_target.name = "ymp";
Expand Down

0 comments on commit e934349

Please sign in to comment.