aboutsummaryrefslogtreecommitdiffstats
path: root/translate_menu
diff options
context:
space:
mode:
Diffstat (limited to 'translate_menu')
-rwxr-xr-xtranslate_menu5
1 files changed, 4 insertions, 1 deletions
diff --git a/translate_menu b/translate_menu
index 2d661c6..2fc3f88 100755
--- a/translate_menu
+++ b/translate_menu
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#---------------------------------------------------------------
# Project : Mandrake Linux
# Module : spec-helper
@@ -9,6 +9,9 @@
# Purpose : change the menu sections
#---------------------------------------------------------------
+use strict;
+use warnings;
+
my $menudir = `rpm --eval %_menudir`;
chomp($menudir);