Skip to content

Commit 6c2970b

Browse files
committed
Quote what doesn't need to be unquoted
1 parent 3836367 commit 6c2970b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

libexec/inject-libv8

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ for lib in libv8_monolith.a; do
5050
cd "$tmpdir/stage"
5151

5252
# create folders named in `ar` archive (`ar -x` fails to create these)
53-
$AR $ARLISTFLAGS "$BASEDIR/out/$BUILDTYPE/$lib" | while read -r path; do
54-
dirname $path
53+
"$AR" "$ARLISTFLAGS" "$BASEDIR/out/$BUILDTYPE/$lib" | while read -r path; do
54+
dirname "$path"
5555
done | uniq | xargs mkdir -p
56-
$AR $AREXTRACTFLAGS "$BASEDIR/out/${BUILDTYPE}/$lib"
56+
"$AR" "$AREXTRACTFLAGS" "$BASEDIR/out/${BUILDTYPE}/$lib"
5757

5858
# strip all objects
59-
$FIND -type f -exec "$STRIP" -Sx {} +
59+
"$FIND" -type f -exec "$STRIP" -Sx {} +
6060

6161
# rebuild the archive
62-
$FIND -type f -exec $AR $ARCOLLECTFLAGS "../$lib" {} +
62+
"$FIND" -type f -exec "$AR" "$ARCOLLECTFLAGS" "../$lib" {} +
6363
$ARBUILDSYMBOLS "../$lib"
6464
mv "../$lib" "$dir/$lib"
6565
)

0 commit comments

Comments
 (0)