help t export the variable from a particular file

Hello Guys,

I need you help to do one task

I have script which is actually doing to fetch the code of any repository in svn

for e.g.:- I can use svn to checkout the repository but I want to checkout the repository for particular tag

like svn co <url>/svn/repo/<tag-name>

and this repo name and tag-name should come from file like export these two variables

I will store these two variable in a particular file repo name and tag-name and script will pick this variable and store the code in a particular location

Thanks in advance
Rohit Singh

I hope this example can help you:

$ cat >CONFIG
url=URL
tag=TAG

$ eval `cat CONFIG`

$ echo svn co "$url"/svn/repo/"$tag"
svn co URL/svn/repo/TAG