Skip to content

Commit 2c92e63

Browse files
committed
Fix typos in scripts/postinstall
1 parent ccb480e commit 2c92e63

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

scripts/postinstall

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr-env bash
1+
#!/usr/bin/env bash
22

33
#
44
# Symbolic links for native platform binaries
@@ -12,27 +12,27 @@ source scripts/adjustEnvVars.sh || exit $?
1212
mkdir -p bin || exit 10
1313

1414
# Binutils
15-
ln -sf $TARGET-addr2line addr2line &&
16-
$TARGET-ar ar &&
17-
$TARGET-as as &&
18-
$TARGET-c++filt c++filt &&
19-
$TARGET-elfedit elfedit &&
20-
$TARGET-gprof gprof &&
21-
$TARGET-ld ld &&
22-
$TARGET-ld.bfd ld.bfd &&
23-
$TARGET-nm nm &&
24-
$TARGET-objcopy objcopy &&
25-
$TARGET-objdump objdump &&
26-
$TARGET-ranlib ranlib &&
27-
$TARGET-readelf readelf &&
28-
$TARGET-size size &&
29-
$TARGET-strings strings &&
30-
$TARGET-strip strip || exit 11
15+
ln -sf $TARGET-addr2line bin/addr2line &&
16+
ln -sf $TARGET-ar bin/ar &&
17+
ln -sf $TARGET-as bin/as &&
18+
ln -sf $TARGET-c++filt bin/c++filt &&
19+
ln -sf $TARGET-elfedit bin/elfedit &&
20+
ln -sf $TARGET-gprof bin/gprof &&
21+
ln -sf $TARGET-ld bin/ld &&
22+
ln -sf $TARGET-ld.bfd bin/ld.bfd &&
23+
ln -sf $TARGET-nm bin/nm &&
24+
ln -sf $TARGET-objcopy bin/objcopy &&
25+
ln -sf $TARGET-objdump bin/objdump &&
26+
ln -sf $TARGET-ranlib bin/ranlib &&
27+
ln -sf $TARGET-readelf bin/readelf &&
28+
ln -sf $TARGET-size bin/size &&
29+
ln -sf $TARGET-strings bin/strings &&
30+
ln -sf $TARGET-strip bin/strip || exit 11
3131

3232
# GCC
33-
ln -sf $TARGET-c++ c++ &&
34-
$TARGET-cpp cpp &&
35-
$TARGET-g++ g++ &&
36-
$TARGET-gcc gcc &&
37-
$TARGET-gcov gcov &&
38-
$TARGET-gcov-tool gcov-tool || exit 12
33+
ln -sf $TARGET-c++ bin/c++ &&
34+
ln -sf $TARGET-cpp bin/cpp &&
35+
ln -sf $TARGET-g++ bin/g++ &&
36+
ln -sf $TARGET-gcc bin/gcc &&
37+
ln -sf $TARGET-gcov bin/gcov &&
38+
ln -sf $TARGET-gcov-tool bin/gcov-tool || exit 12

0 commit comments

Comments
 (0)