commit changed configuration
authordpavlin <dpavlin@rot13.org>
Tue, 29 Oct 2013 20:39:21 +0000 (21:39 +0100)
committerdpavlin <dpavlin@rot13.org>
Tue, 29 Oct 2013 20:39:21 +0000 (21:39 +0100)
eprints-clone.sh

index b50de24..15b55f2 100755 (executable)
@@ -37,11 +37,14 @@ else
 
        git diff cfg.d/database.pl | patch -R -p1
 
+       git commit -m "$from configuration changes" -a
+
        echo "Modify databse for $from shema"
        $bin/epadmin update $to
 
        #$bin/epadmin              erase_data $to
 
+       echo "Importing data to $to"
        $bin/import          --verbose       $to user   XML $dir/$from.user.xml
        $bin/import_subjects --verbose --xml $to            $dir/$from.subject.xml
        $bin/import          --verbose       $to eprint XML $dir/$from.archive.xml