Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scripts
mahara-scripts
Commits
879cc6d6
Commit
879cc6d6
authored
Nov 26, 2012
by
Hugh Davenport
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix regex for 1.6
parent
958077c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mahara-langpacks/langpacks.pl
mahara-langpacks/langpacks.pl
+1
-1
No files found.
mahara-langpacks/langpacks.pl
View file @
879cc6d6
...
@@ -150,7 +150,7 @@ foreach my $lang (@langkeys) {
...
@@ -150,7 +150,7 @@ foreach my $lang (@langkeys) {
!
-
d
"
$gitlangdir
"
&&
system
"
git clone --quiet
$remote
$gitlangdir
";
!
-
d
"
$gitlangdir
"
&&
system
"
git clone --quiet
$remote
$gitlangdir
";
chdir
$gitlangdir
;
chdir
$gitlangdir
;
system
"
git fetch --quiet
";
system
"
git fetch --quiet
";
my
$remotebranchcmd
=
'
git branch -r | grep -v "HEAD" | grep "origin\/\(master\|1.3_STABLE\|1.4_STABLE\|1.5_STABLE|1.6_STABLE\)$"
';
my
$remotebranchcmd
=
'
git branch -r | grep -v "HEAD" | grep "origin\/\(master\|1.3_STABLE\|1.4_STABLE\|1.5_STABLE
\
|1.6_STABLE\)$"
';
my
$remotebranches
=
`
$remotebranchcmd
`;
my
$remotebranches
=
`
$remotebranchcmd
`;
$remotebranches
=~
s/\s+/ /
;
$remotebranches
=~
s/\s+/ /
;
@branches
=
();
@branches
=
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment