From: dave morgan Date: Sat, 21 Jan 2006 20:08:52 GMT Subject: Re: problem installing latest cogito Message-ID: In-Reply-To: <20060121194826.GK28365@pasky.or.cz> On Sat, 21 Jan 2006 20:48:26 +0100, Petr Baudis wrote: >Dear diary, on Sat, Jan 21, 2006 at 03:08:27PM CET, I got a letter >where dave morgan said that... >> sed -e >> 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/david\/lib\/cogito\/}/g; \ >> >> s/\${COGITO_SHARE}/\${COGITO_SHARE:-\/home\/david\/share\/cogito\/}/g' >> \ >> $file > $file.new; \ >> cat $file.new > $file; rm $file.new; \ >> done >> sed: -e expression #1, char 145: unterminated address regex > >(145 is the total expression length.) Now, I'm at loss - this works here >and I can see nothing wrong on the regexp - does anyone have any idea? > >What is your sed version? ~/cogito$ sed --version GNU sed version 4.1.2 (from Debian/testing) > >> net result - a pile of zero length files in /home/david/bin/ :-( >> >> can I just copy the cg-files from to cogito directory over? > >No, you would have to also set $COGITO_LIB and $COGITO_SHARE (or put >cg-X* scripts to your bin directory as well). I blundered about for 30 minutes with git-reset, and ended up here - david@tower2:~/cogito$ cg-log | head commit a9c75f3b8b1adb01859ff2c9b028f72a247837c6 tree c0c2b743d5dbacc33bced6ace62347724664c817 parent 653b039dbf989696160db56bb196a1584932fdeb author Petr Baudis Sat, 21 Jan 2006 02:28:30 +0100 committer Petr Baudis Sat, 21 Jan 2006 02:28:30 +0100 Add support for cg-update -v Makes it call cg-fetch with -v as well, to list all the changes being pulled. and then make-install worked, and I seem to have a working cogito ... but 'make test' fails - *** t9400-clean.sh *** * ok 1: initialize repo * ok 2: cg-clean -n in top-level dir * ok 3: cg-clean -Ddxqn in top-level dir * ok 4: cg-clean -n in subdir * FAIL 5: cg-clean in subdir (cd 'repo dir' && cg-clean && check_loss) * ok 6: cg-clean -d in subdir * FAIL 7: cg-clean -x in subdir (cd 'repo dir' && cg-clean -x && check_loss) * FAIL 8: cg-clean in top-level dir (cg-clean && check_loss) * FAIL 9: cg-clean -x in top-level dir (cg-clean -x && check_loss) * FAIL 10: cg-clean -d in top-level dir (cg-clean -d && check_loss) * ok 11: cg-clean -D in top-level dir * failed 5 among 11 test(s) make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/david/cogito/t' make: *** [test] Error 2 is this expected? best regards Dave