Permalink
Browse files

Still fixing filenames with dots

  • Loading branch information...
1 parent 7d48c68 commit 26582c4c67faeadf6ccfc8dd111d1e479b8928a8 @bmcdorman bmcdorman committed Dec 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cbcui/src/Compiler.cpp
@@ -81,6 +81,6 @@ void Compiler::compileFile(QString filename)
if(filename.endsWith(".sh"))
m_compiler.start("sh", QStringList() << filename);
else
- m_compiler.start("/mnt/kiss/usercode/compilers/" + filename.section(".", 1), QStringList() << filename);
+ m_compiler.start("/mnt/kiss/usercode/compilers/" + filename.section(".", -1), QStringList() << filename);
}
}

0 comments on commit 26582c4

Please sign in to comment.