X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Finst.sh;h=bbfee547528bda5185edb51f0effb72dfc7c70a4;hb=74afbc29ac4ce9d94d53e10342979f2c59f1f193;hp=f4d405875d73f9d001155189c015f0dfb1b984a9;hpb=3406c79cd1a832418ad3a8b3de7a823b79ff5675;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/inst.sh b/cinelerra-5.1/inst.sh index f4d40587..bbfee547 100755 --- a/cinelerra-5.1/inst.sh +++ b/cinelerra-5.1/inst.sh @@ -4,10 +4,11 @@ cr=' ' dir="$1"; shift 1 $mkinstalldirs "$dir" +if [ "$*" = "*" ]; then exit; fi for f in "$@"; do if [ -f "$f" ]; then $install_sh -c "$f" "$dir"; continue; fi - if [ -d "$f" ]; then ( cd $f; IFS="$cr"; $inst_sh "$dir/$f" `ls -1` ) + if [ -d "$f" ]; then ( cd $f; $inst_sh "$dir/$f" * ) else echo "*** Error - install $f in $dir failed." 1>&2; exit 1; fi done