summaryrefslogtreecommitdiff
path: root/compiler/valacompiler.vala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/valacompiler.vala')
-rw-r--r--compiler/valacompiler.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 97cca8821..0718f14a2 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -675,7 +675,7 @@ class Vala.Compiler {
}
static int main (string[] args) {
- if (Path.get_basename (args[0]) == "vala") {
+ if (Path.get_basename (args[0]) == "vala" || Path.get_basename (args[0]) == "vala" + Config.PACKAGE_SUFFIX) {
return run_source (args);
}