diff --git a/opam b/opam
index 69f1bab36db54c61e6f1f6e72f34d4f81377d941..fb00c4be9e48ea236ebf57361b2d47649e82e6a2 100644
--- a/opam
+++ b/opam
@@ -8,7 +8,7 @@ license: "BSD"
 dev-repo: "https://gitlab.mpi-sws.org/FP/iris-coq.git"
 build: [make "-j%{jobs}%"]
 install: [make "install"]
-remove: ["sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/iris'"]
+remove: ["rm" "-rf" "%{lib}%/coq/user-contrib/iris"]
 depends: [
   "coq" { >= "8.6.1" & < "8.8~" }
   "coq-mathcomp-ssreflect" { (>= "1.6.1" & < "1.7~") | (= "dev") }