piccus
02.11.10, 08:59
Hallo Forum,
ich versuche seit Tagen ein Upgrade per CVS.
Hier mein Skript:
#!/bin/bash
cvs -d /home/stiffmeister/CVS init
cvs -d:pserver:anonymous@UK.cvs.moodle.org:/cvsroot/moodle login
cvs -z3 -d:pserver:anonymous@UK.cvs.moodle.org:/cvsroot/moodle co -P moodle
cd /var/www/moodle
cvs update -dP moodle -r HEAD
Wenn ich das Skript das erste Mal aufrufe, funkioniert es. Es werden die Ordner ~/moodle und ~/CVS angelegt und anschließend wird /var/www/moodle upgedatet.
Wenn ich später noch ein Update durch erneuten Aufruf machen möchte, kommt:
...
cvs [update aborted]: *PANIC* administration files missing!
Das händische Löschen von ~/moodle und ~/CVS hilft dann weiter.
Jetzt kommt das nächste Problem:
cvs update: No CVSROOT specified! Please use the `-d' option
cvs [update aborted]: or set the CVSROOT environment variable.
Die Meldung sieht banal aus, aber ich kriege es nicht hin! Keine Chance. Ich nutze Ubuntu 10.04.
Hat jemand eine zündende Idee?
piccus
ich versuche seit Tagen ein Upgrade per CVS.
Hier mein Skript:
#!/bin/bash
cvs -d /home/stiffmeister/CVS init
cvs -d:pserver:anonymous@UK.cvs.moodle.org:/cvsroot/moodle login
cvs -z3 -d:pserver:anonymous@UK.cvs.moodle.org:/cvsroot/moodle co -P moodle
cd /var/www/moodle
cvs update -dP moodle -r HEAD
Wenn ich das Skript das erste Mal aufrufe, funkioniert es. Es werden die Ordner ~/moodle und ~/CVS angelegt und anschließend wird /var/www/moodle upgedatet.
Wenn ich später noch ein Update durch erneuten Aufruf machen möchte, kommt:
...
cvs [update aborted]: *PANIC* administration files missing!
Das händische Löschen von ~/moodle und ~/CVS hilft dann weiter.
Jetzt kommt das nächste Problem:
cvs update: No CVSROOT specified! Please use the `-d' option
cvs [update aborted]: or set the CVSROOT environment variable.
Die Meldung sieht banal aus, aber ich kriege es nicht hin! Keine Chance. Ich nutze Ubuntu 10.04.
Hat jemand eine zündende Idee?
piccus