more build tweaks for bsd
[goodguy/history.git] / cinelerra-5.1 / inst.sh
index f4d405875d73f9d001155189c015f0dfb1b984a9..bbfee547528bda5185edb51f0effb72dfc7c70a4 100755 (executable)
@@ -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