projects
/
goodguy
/
cinelerra.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update opencv_build so it works with ffmpeg 5
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
inst.sh
1
#!/bin/bash -e
2
# inst.sh <dir> <objs...>
3
dir="$1"; shift 1
4
mkdir -p "$dir"
5
if [ "$*" = "*" ]; then exit; fi
6
7
for f in "$@"; do
8
if [ -f "$f" ]; then cp "$f" "$dir"; continue; fi
9
if [ -d "$f" ]; then ( cd $f; $inst_sh "$dir/$f" * )
10
else echo "*** Error - inst.sh $f in $dir failed." 1>&2; exit 1; fi
11
done
12