File tree 5 files changed +9
-7
lines changed 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3
3
# file at the top-level directory of this distribution and at
4
4
# http://rust-lang.org/COPYRIGHT.
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3
3
# file at the top-level directory of this distribution and at
4
4
# http://rust-lang.org/COPYRIGHT.
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3
3
# file at the top-level directory of this distribution and at
4
4
# http://rust-lang.org/COPYRIGHT.
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
3
3
# file at the top-level directory of this distribution and at
4
4
# http://rust-lang.org/COPYRIGHT.
@@ -621,9 +621,11 @@ install_components() {
621
621
622
622
if echo " $_file " | grep " ^bin/" > /dev/null
623
623
then
624
- run install -m755 " $_src_dir /$_component /$_file " " $_file_install_path "
624
+ run cp " $_src_dir /$_component /$_file " " $_file_install_path "
625
+ run chmod 755 " $_file_install_path "
625
626
else
626
- run install -m644 " $_src_dir /$_component /$_file " " $_file_install_path "
627
+ run cp " $_src_dir /$_component /$_file " " $_file_install_path "
628
+ run chmod 644 " $_file_install_path "
627
629
fi
628
630
critical_need_ok " file creation failed"
629
631
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
set -e -u
4
4
You can’t perform that action at this time.
0 commit comments