diff --git a/opam b/opam
index 634fab636612efc15c28dceda2d80157a0263b83..d8c0baf42726a411986c381205c3a8e237ba8390 100644
--- a/opam
+++ b/opam
@@ -8,7 +8,7 @@ license: "BSD"
 dev-repo: "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp.git"
 build: [make "-j%{jobs}%"]
 install: [make "install"]
-remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/stdpp'" ]
+remove: ["rm" "-rf" "%{lib}%/coq/user-contrib/stdpp"]
 depends: [
   "coq" { >= "8.6" & < "8.8~" }
 ]