rahulpathakgit / codeswarm

Automatically exported from code.google.com/p/codeswarm
GNU General Public License v3.0
0 stars 0 forks source link

run.sh bug with non-default config files. #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $ ./run.sh
2. Type a config file path (i.e: data/project.config).
3. Press enter

What is the expected output? What do you see instead?
code_swarm project !
Specify a config file, or ENTER for default one [data/sample.config] : 
data/project.config
Specify a config file.
bye

What version of the product are you using? On what operating system?
http://codeswarm.googlecode.com/svn/trunk@202 on Ubuntu Hardy

Please provide any additional information below.
{{{
diff --git a/run.sh b/run.sh
index 5270683..1807b0e 100755
--- a/run.sh
+++ b/run.sh
@@ -14,7 +14,7 @@ if [ $# = 0 ]; then
     if [ ${#config} = 0 ]; then
         params=$default_config
     else
-        params=$key
+        params=$config
     fi
 else
     if [ $1 == "-h" ] || [ $1 == "--help" ]; then
}}}

Original issue reported on code.google.com by mariodp...@gmail.com on 22 Jul 2008 at 7:51

GoogleCodeExporter commented 8 years ago
Thanks for this detailed issue, it has been fixed !

Original comment by sebastie...@gmail.com on 23 Jul 2008 at 5:34