Commit 32e48c2a8c096a14924709f1a1737fd3333c36a8

Thomas de Grivel 2023-01-24T10:14:14

fix fake

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/shpkg.subr b/lib/shpkg.subr
index 26287ed..866959e 100644
--- a/lib/shpkg.subr
+++ b/lib/shpkg.subr
@@ -239,7 +239,7 @@ shpkg_fake () {
         verbose mkdir -p "${SHPKG_REPO_FAKE_DIR}"
         if [ -f "${SHPKG_REPO_SRC_DIR}/Makefile" ]; then
             ( verbose cd "${SHPKG_REPO_SRC_DIR}" &&
-                  verbose make PREFIX= DESTDIR="${SHPKG_REPO_FAKE_DIR}" install; )
+                  verbose make prefix="${SHPKG_REPO_FAKE_DIR}" install; )
         elif [ -f "${SHPKG_REPO_SRC_DIR}/CMakeLists.txt" ]; then
             cmake --install "${SHPKG_OBJ_DIR}/${SHPKG_REPO_DIR}" --prefix "${SHPKG_REPO_FAKE_DIR}"
         fi