Skip to content

Commit f13f651

Browse files
committed
Merge pull request kstenerud#58 from aet/master
quote header filename in case it contains special chars
2 parents 29aa5e2 + a2fc424 commit f13f651

File tree

2 files changed

+2
-2
lines changed
  • Fake Framework/Templates/Framework & Library/Fake Static iOS Framework.xctemplate
  • Real Framework/Templates/Framework & Library/Static iOS Framework.xctemplate

2 files changed

+2
-2
lines changed

Fake Framework/Templates/Framework & Library/Fake Static iOS Framework.xctemplate/TemplateInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ for PUBLIC_HEADER in $PUBLIC_HEADERS; do
169169
if [ -n "$FIND_OPTS" ]; then
170170
FIND_OPTS="$FIND_OPTS -o"
171171
fi
172-
FIND_OPTS="$FIND_OPTS -name $PUBLIC_HEADER"
172+
FIND_OPTS="$FIND_OPTS -name '$PUBLIC_HEADER'"
173173
done
174174
175175
if [ -n "$FIND_OPTS" ]; then

Real Framework/Templates/Framework & Library/Static iOS Framework.xctemplate/TemplateInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ for PUBLIC_HEADER in $PUBLIC_HEADERS; do
163163
if [ -n "$FIND_OPTS" ]; then
164164
FIND_OPTS="$FIND_OPTS -o"
165165
fi
166-
FIND_OPTS="$FIND_OPTS -name $PUBLIC_HEADER"
166+
FIND_OPTS="$FIND_OPTS -name '$PUBLIC_HEADER'"
167167
done
168168
169169
if [ -n "$FIND_OPTS" ]; then

0 commit comments

Comments
 (0)