This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "theslinux-buildsystem".
The branch, _utils has been updated via 4b4ce69e9a88bb7060dd25970fa45c4641c9b506 (commit) via 10e7f0365c8a34d2af3da8d48c29bddaf491b822 (commit) from c94c56b092cf5a7428a9a6f94131496df17a3655 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4b4ce69e9a88bb7060dd25970fa45c4641c9b506 Author: Ky-Anh Huynh <ky...@theslinux.org> Date: Fri May 2 23:39:28 2014 +0700 bin/compile: Ignore all major comments from lib/* file In the output file (s-run), there are no more (major) comments. All :export instructions (:export foo bar) are also removed commit 10e7f0365c8a34d2af3da8d48c29bddaf491b822 Author: Ky-Anh Huynh <ky...@theslinux.org> Date: Fri May 2 23:29:52 2014 +0700 systemd.sh: Remove the internal function (_systemd_ctl) Why do we need this, while :export can create alias directly? ----------------------------------------------------------------------- Summary of changes: _utils/bin/compile.sh | 4 +++- _utils/lib/systemd.sh | 13 +++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/_utils/bin/compile.sh b/_utils/bin/compile.sh index 39b34cd..f668d88 100755 --- a/_utils/bin/compile.sh +++ b/_utils/bin/compile.sh @@ -47,5 +47,7 @@ for f in ./lib/*.sh; do echo "" echo "# Source file = $f" echo "" - cat $f + cat $f \ + | grep -v '^#' \ + | grep -v '^:export ' done diff --git a/_utils/lib/systemd.sh b/_utils/lib/systemd.sh index c2bf159..13998c0 100644 --- a/_utils/lib/systemd.sh +++ b/_utils/lib/systemd.sh @@ -4,13 +4,6 @@ # Date : 2014 May 2nd # Home : https://github.com/TheSLinux/buildsystem/tree/_utils -:export status _systemd_ctl status -:export stop _systemd_ctl stop -:export start _systemd_ctl start - -# This is a shortcut of `systemctl`. Instead of typing a long command -# (who wants `sudo systemctl status MyDnsDaemon` ?), user only needs -# to type a short string (`sudo status MyDnsDaemon`). -_systemd_ctl() { - systemctl "$@" -} +:export status systemctl status +:export stop systemctl stop +:export start systemctl start hooks/post-receive -- theslinux-buildsystem -- To ubsubscribe from the list phantom@lists.theslinux.org, please send an email to ecar...@lists.theslinux.org with subject ubsubscribe phantom To get basic commands to use Ecartis system, use subject 'help'.