X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Finst.sh;h=bbfee547528bda5185edb51f0effb72dfc7c70a4;hb=d15e0002dd6aa24de8e899b3551d247ac2128811;hp=f4d405875d73f9d001155189c015f0dfb1b984a9;hpb=6bcc7c5880782aadfdab7dd4b0c546eca8808641;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