Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a630375b
Commit
a630375b
authored
Mar 13, 2006
by
rburnett@production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-commit:
Small change to enable sending of mails from Windows bk clones
parent
fc8fdd25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
BitKeeper/triggers/post-commit
BitKeeper/triggers/post-commit
+9
-3
No files found.
BitKeeper/triggers/post-commit
View file @
a630375b
...
@@ -14,6 +14,12 @@ else
...
@@ -14,6 +14,12 @@ else
FROM
=
$REAL_EMAIL
FROM
=
$REAL_EMAIL
fi
fi
if
[
-x
/usr/sbin/sendmail
]
;
then
SENDMAIL
=
/usr/sbin/sendmail
else
SENDMAIL
=
sendmail
fi
BK_STATUS
=
$BK_STATUS$BK_COMMIT
BK_STATUS
=
$BK_STATUS$BK_COMMIT
if
[
"
$BK_STATUS
"
=
OK
]
if
[
"
$BK_STATUS
"
=
OK
]
...
@@ -58,7 +64,7 @@ $BH
...
@@ -58,7 +64,7 @@ $BH
EOF
EOF
bk changes
-v
-r
+
bk changes
-v
-r
+
bk cset
-r
+
-d
bk cset
-r
+
-d
)
|
/usr/sbin/sendmail
-t
)
|
$SENDMAIL
-t
#++
#++
# commits@ mail
# commits@ mail
...
@@ -82,7 +88,7 @@ see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
...
@@ -82,7 +88,7 @@ see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
EOF
EOF
bk changes
-v
-r
+
bk changes
-v
-r
+
bk cset
-r
+
-d
bk cset
-r
+
-d
)
|
head
-n
$LIMIT
|
/usr/sbin/sendmail
-t
)
|
head
-n
$LIMIT
|
$SENDMAIL
-t
#++
#++
# docs-commit@ mail
# docs-commit@ mail
...
@@ -102,7 +108,7 @@ Subject: bk commit - $VERSION tree (Manual) ($CHANGESET)$BS
...
@@ -102,7 +108,7 @@ Subject: bk commit - $VERSION tree (Manual) ($CHANGESET)$BS
EOF
EOF
bk changes
-v
-r
+
bk changes
-v
-r
+
bk cset
-r
+
-d
bk cset
-r
+
-d
)
|
/usr/sbin/sendmail
-t
)
|
$SENDMAIL
-t
fi
fi
else
else
...
...
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