summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Christiansen <kenneth@src.gnome.org>2000-10-30 19:13:09 +0000
committerKenneth Christiansen <kenneth@src.gnome.org>2000-10-30 19:13:09 +0000
commit234699b8d35d0e6bff50495a25fc08270fe34b85 (patch)
tree925063d71d6377ff49c386e7ca54f13dfb945b61
parent110b721fd53f67974d0a527306ad9ceca0ff7055 (diff)
downloadnautilus-234699b8d35d0e6bff50495a25fc08270fe34b85.tar.gz
committed for darin
-rwxr-xr-xpo/update.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/po/update.pl b/po/update.pl
index bed7c0883..6746d8c8f 100755
--- a/po/update.pl
+++ b/po/update.pl
@@ -38,7 +38,6 @@ if ($LANG=~/^-(.)*/){
}
elsif ($LANG eq "--pot" || "$LANG" eq "-P"){
if (-e ".headerlock"){
- unlink(".headerlock");
&GeneratePot;
}else{
&GenHeaders;
@@ -165,13 +164,13 @@ sub GenHeaders{
open FILE, "<POTFILES.in";
while (<FILE>) {
if ($_=~ /(.*)(\.xml\.h)/o){
- $filename = "\.\./$1\.xml";
+ $filename = "../$1.xml";
$xmlfiles="\.\/ui-extract.pl --update $filename";
system($xmlfiles);
}
elsif ($_=~ /(.*)(\.glade\.h)/o){
- $filename = "\.\./$1\.glade";
+ $filename = "../$1.glade";
$xmlfiles="\.\/ui-extract.pl --update $filename";
system($xmlfiles);
}