mirror of
https://github.com/microsoft/plcrashreporter.git
synced 2026-01-18 04:01:18 +01:00
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.
This commit is contained in:
@@ -10,7 +10,8 @@ cp -Rv "$1" "$3"
|
||||
# Combining libraries.
|
||||
product_name=${1##*/}
|
||||
product_name=${product_name%.*}
|
||||
$(dirname "$0")/combine-libraries.sh \
|
||||
script_folder=$(dirname "$0")
|
||||
"${script_folder}"/combine-libraries.sh \
|
||||
"$1/${product_name}" \
|
||||
"$2/${product_name}" \
|
||||
"$3/${product_name}"
|
||||
|
||||
Reference in New Issue
Block a user