exec bits, desktop icon props, noexecstack, attach transitions to selected edits...
[goodguy/cinelerra.git] / cinelerra-5.1 / inst.sh
1 #!/bin/bash -e
2 # inst.sh <dir> <objs...>
3 cr='
4 '
5 dir="$1"; shift 1
6 mkdir -p "$dir"
7 if [ "$*" = "*" ]; then exit; fi
8
9 for f in "$@"; do
10   if [ -f "$f" ]; then ( umask 755; cp "$f" "$dir" ); continue; fi
11   if [ -d "$f" ]; then ( cd $f; $inst_sh "$dir/$f" * )
12   else echo "*** Error - inst.sh $f in $dir failed." 1>&2; exit 1; fi
13 done
14