Commit 2732485c1d6c0845b870c0afcfa4598ec9d8395c

Thomas de Grivel 2023-02-04T13:01:21

fix tag remove

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index af19470..14fefdd 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -363,7 +363,7 @@ shpkg__tag_remove() {
     for SHPKG_TAG; do
         SHPKG_REPO_TAG_DIR="${SHPKG_TAG_DIR}/${SHPKG_REPO_DIR}/${SHPKG_REPO_VERSION}"
         if [ -f "${SHPKG_REPO_TAG_DIR}/${SHPKG_TAG}" ]; then
-            verbose 1 "rm ${SHPKG_REPO_TAG_DIR}/${SHPKG_TAG}"
+            verbose 1 rm "${SHPKG_REPO_TAG_DIR}/${SHPKG_TAG}"
         fi
     done
 }