Lines 74-79
Link Here
|
74 |
} |
74 |
} |
75 |
} |
75 |
} |
76 |
|
76 |
|
|
|
77 |
$sourcefile = $ARGV[0]; |
78 |
|
79 |
if( $^O =~ /cygwin/i ) { |
80 |
# We might get paths with backslashes, fix that. |
81 |
$lstfile =~ s/\\/\//g; |
82 |
$sourcefile =~ s/\\/\//g; |
83 |
} |
84 |
|
77 |
# read openoffice.lst |
85 |
# read openoffice.lst |
78 |
unless(open(LSTFILE, "sed -n \"/^$product\$/,/^}\$/ p\" $lstfile |")) { |
86 |
unless(open(LSTFILE, "sed -n \"/^$product\$/,/^}\$/ p\" $lstfile |")) { |
79 |
print STDERR "Can't open $lstfile file: $!\n"; |
87 |
print STDERR "Can't open $lstfile file: $!\n"; |
Lines 105-112
Link Here
|
105 |
$id = $productname . "_" . $id . "_" . $languages; |
113 |
$id = $productname . "_" . $id . "_" . $languages; |
106 |
|
114 |
|
107 |
# open input file |
115 |
# open input file |
108 |
unless (open(SOURCE, $ARGV[0])) { |
116 |
unless (open(SOURCE, $sourcefile)) { |
109 |
print STDERR "Can't open $ARGV[0] file: $!\n"; |
117 |
print STDERR "Can't open $sourcefile file: $!\n"; |
110 |
return; |
118 |
return; |
111 |
} |
119 |
} |
112 |
|
120 |
|