Skip to content

Commit 48156e3

Browse files
author
Richard Groves
authored
Fix a build error if the source folder has a space
If the source folder has a space in the path then the build fails as $(dirname "$0")/combine-libraries.sh has a space in it. This changes adds quotes around the directory name.
1 parent dbb05c0 commit 48156e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Scripts/combine-frameworks.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ cp -Rv "$1" "$3"
1010
# Combining libraries.
1111
product_name=${1##*/}
1212
product_name=${product_name%.*}
13-
$(dirname "$0")/combine-libraries.sh \
13+
script_folder=$(dirname "$0")
14+
"${script_folder}"/combine-libraries.sh \
1415
"$1/${product_name}" \
1516
"$2/${product_name}" \
1617
"$3/${product_name}"

0 commit comments

Comments
 (0)