Skip to content

Commit 2fef6c4

Browse files
authored
fix: destination directory variable in install script (#5319)
When the DEST_DIR variable contains whitespace, the script fails. Signed-off-by: Konstantinos <[email protected]>
1 parent f5b1a88 commit 2fef6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install-fabric.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ download() {
252252
DEST_DIR="fabric-samples"
253253
fi
254254
echo "===> Will unpack to: ${DEST_DIR}"
255-
curl -L --retry 5 --retry-delay 3 "${URL}" | tar xz -C ${DEST_DIR}|| rc=$?
255+
curl -L --retry 5 --retry-delay 3 "${URL}" | tar xz -C "${DEST_DIR}"|| rc=$?
256256
if [ -n "$rc" ]; then
257257
echo "==> There was an error downloading the binary file."
258258
return 22

0 commit comments

Comments
 (0)