diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 1a7fd34..a9bd1fe 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -379,9 +379,9 @@ shpkg_build () {
SHPKG_REPO_VERSION="$(shpkg_version "${SHPKG_REPO}")"
if [ -f "${SHPKG_REPO_SRC_DIR}/Makefile" ]; then
( verbose 1 cd "${SHPKG_REPO_SRC_DIR}" &&
- verbose 1 make -j "{SHPKG_NCPU}"; )
+ verbose 1 make -j "${SHPKG_NCPU}"; )
elif [ -f "${SHPKG_SRC_DIR}/${SHPKG_REPO_DIR}/CMakeLists.txt" ]; then
- cmake -j "{SHPKG_NCPU}" --build "${SHPKG_REPO_OBJ_DIR}"
+ cmake -j "${SHPKG_NCPU}" --build "${SHPKG_REPO_OBJ_DIR}"
fi
shpkg__tag_write build-done
fi