12 lines
217 B
Bash
12 lines
217 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
framework_path=$1
|
||
|
|
binary_dir=$2
|
||
|
|
|
||
|
|
crt_files=$(find $binary_dir -name "crt*.s.o")
|
||
|
|
|
||
|
|
for crt_file in $crt_files; do
|
||
|
|
out="$framework_path/Binary/$(basename $crt_file .s.o).o"
|
||
|
|
cp -f $crt_file $out
|
||
|
|
done
|