Signed-off-by: Ulrich Ölmann <[email protected]>
---
rules/templates/src-meson-prog/wizard.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rules/templates/src-meson-prog/wizard.sh
b/rules/templates/src-meson-prog/wizard.sh
index 3753d8d0e67d..d98a72585594 100644
--- a/rules/templates/src-meson-prog/wizard.sh
+++ b/rules/templates/src-meson-prog/wizard.sh
@@ -1,13 +1,13 @@
#!/bin/bash
NAME="${1}"
-if [ -z "$NAME" ]; then
+if [ -z "${NAME}" ]; then
echo -n "project name: "
read NAME
fi
VERSION="${3}"
-if [ -z "$VERSION" ]; then
+if [ -z "${VERSION}" ]; then
echo -n "project version: "
read VERSION
fi
@@ -16,7 +16,7 @@ mv "@[email protected]" "${NAME}.c"
for i in \
meson.build \
- ${NAME}.c \
+ "${NAME}.c" \
; do
sed -i -e "s/\@name\@/${NAME}/g" \
-e "s/\@version\@/${VERSION}/g" $i
--
2.20.1
_______________________________________________
ptxdist mailing list
[email protected]