Skip to content

Commit

Permalink
Fix buck2 targets command for non-ocamlrep users of the fbcode shim (…
Browse files Browse the repository at this point in the history
…#2185)

Summary: Pull Request resolved: facebook/folly#2185

Test Plan: CI on the ocamlrep PR passes

Reviewed By: shayne-fletcher

Differential Revision: D57006939

Pulled By: bigfootjon
  • Loading branch information
bigfootjon authored and facebook-github-bot committed May 15, 2024
1 parent 1ba2c01 commit 053cd40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set -u

# Link 'third-party/ocaml/opam'.
if [ ! -L shim/third-party/ocaml/opam ]; then
(cd shim/third-party/ocaml && ln -s "$OPAM_SWITCH_PREFIX" opam)
(cd shim/third-party/ocaml && rm -rf opam && ln -s "$OPAM_SWITCH_PREFIX" opam)
else
echo "Link 'shim/third-party/ocaml/opam' exists. To overwrite it, first remove it and run $0 again"
fi
1 change: 1 addition & 0 deletions shim/third-party/ocaml/opam/lib/ocaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Fake file so that buck2 can run in non-ocamlrep repos

0 comments on commit 053cd40

Please sign in to comment.