Skip to content

Commit

Permalink
Fix --ignore-pin-depends with autopin (#3736)
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGr authored and rjbou committed Mar 27, 2019
1 parent e75c13d commit b946497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/opamAuxCommands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ let autopin st ?(simulate=false) ?quiet atom_or_local_list =
OpamStd.Sys.exit_because `Aborted
in
let st =
if OpamClientConfig.(!r.ignore_pin_depends) then st else
OpamPackage.Set.fold (fun nv st ->
OpamPinCommand.handle_pin_depends st nv (OpamSwitchState.opam st nv))
(OpamPackage.Set.union pins already_pinned_set) st
Expand Down

0 comments on commit b946497

Please sign in to comment.