mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-27 17:53:13 +00:00
configure: Remove unused apply() helper function
This commit is contained in:
parent
61a17423d3
commit
14bba662d4
6
configure
vendored
6
configure
vendored
@ -1196,12 +1196,6 @@ check_host_cpp_condition(){
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
apply(){
|
|
||||||
file=$1
|
|
||||||
shift
|
|
||||||
"$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
|
|
||||||
}
|
|
||||||
|
|
||||||
cp_if_changed(){
|
cp_if_changed(){
|
||||||
cmp -s "$1" "$2" && { test "$quiet" != "yes" && echo "$2 is unchanged"; } && return
|
cmp -s "$1" "$2" && { test "$quiet" != "yes" && echo "$2 is unchanged"; } && return
|
||||||
mkdir -p "$(dirname $2)"
|
mkdir -p "$(dirname $2)"
|
||||||
|
Loading…
Reference in New Issue
Block a user