try properly using string interpolation

This commit is contained in:
Aaron Trudeau
2022-01-27 02:04:22 -05:00
parent feb610ba6d
commit f53e41cd11

View File

@@ -61,7 +61,7 @@ if [ "$PACKAGE_MODE" = "true" ]; then
jq \
--arg packageName "$PACKAGE_NAME" \
--arg projectPath "$UNITY_PROJECT_PATH" \
'.dependencies += {$packageName: ("file:$projectPath")} | . += {testables: [$packageName]}' \
'.dependencies += {$packageName: "file:\($projectPath)"} | . += {testables: [$packageName]}' \
> "$PACKAGE_MANIFEST_PATH"
cat "$PACKAGE_MANIFEST_PATH"