X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fbld_scripts%2Fbld_static.sh;h=39e197439a7ce16fba5eb50ebd92a0ed2bb9ccef;hb=a10be9aeb2993b4ba5569a7dc6a4a4804c54bf02;hp=14c461c2841383a025a1d66b5a31824742a23d3e;hpb=7a70932d3e04454177c456d0b42ee2f5318d6ad1;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/bld_scripts/bld_static.sh b/cinelerra-5.1/bld_scripts/bld_static.sh index 14c461c2..39e19743 100755 --- a/cinelerra-5.1/bld_scripts/bld_static.sh +++ b/cinelerra-5.1/bld_scripts/bld_static.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x dir="$1" shift @@ -13,20 +13,24 @@ if [ ! -d "$path/$dir/$bld" ]; then fi cd "$path/$dir/$bld" -rm -rf "$proj" -git clone --depth 1 "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj" -#rsh host tar -C /mnt0 -cf - cinelerra5 | tar -xf - +rm -rf "$proj.sta" +mkdir "$proj.sta" + +git clone "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj.sta" +#rsh host tar -C "/mnt0/$proj" -cf - "$base" | tar -C "$proj.sta" -xf - if [ $? -ne 0 ]; then echo "git clone $proj failed" exit 1 fi -cd "$proj/$base" - -./autogen.sh -./configure --enable-static=yes -make all install >& log +cd "$proj.sta/$base" +{ +./autogen.sh && \ +./configure --with-single-user --enable-static-build && \ +make $@ && \ +make install +} 2>&1 | tee log || true echo "finished: scanning log for ***" -grep -ai "\*\*\*.*error" log +grep -ai "\*\*\*.*error" log | head