ElvisUntot
Programmer
we use a little script like this
it works quite fine, but it does not look very good to me and i i wonder, when the codeline is just to long to be interpreted by bash. (and it is not a nice thing to change)
mostly i am wondering, if all the "--allow-root=..." need to stand in one line or if there is a posibility to put them into some kind of config-file.
i am sorry, if such a thing was asked before, but my knowldge of linux and cvs are quite small and so i did not know what to search for. (if it is unclear, what i meant, please answer and i will try to make it clearer)
Code:
#!/bin/sh
/usr/bin/cvs -f --allow-root=/proj/cvsroot/cvshubentw --allow-root=/proj/cvsroot/x1 --allow-root=/proj/cvsroot/x2 --allow-root=/proj/cvsroot/x3 [go on for a while] --allow-root=/proj/cvsroot/x23 pserver
mostly i am wondering, if all the "--allow-root=..." need to stand in one line or if there is a posibility to put them into some kind of config-file.
i am sorry, if such a thing was asked before, but my knowldge of linux and cvs are quite small and so i did not know what to search for. (if it is unclear, what i meant, please answer and i will try to make it clearer)