Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Alexander Tsamutali (22f17461e8ee04730f170f666489c25ad786e70a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Alexander Tsamutali <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Alexander Tsamutali (22f17461e8ee04730f170f666489c25ad786e70a)
  • Date: Wed, 6 Feb 2008 21:39:06 -0600

GIT changes to master z-rejected grimoire by Alexander Tsamutali
<astsmtl AT gmail.com>:

ChangeLog | 4 ++++
FUNCTIONS | 24 ++++++++++++++++++++++++
2 files changed, 28 insertions(+)

New commits:
commit 8070111b74d7efb648463d5fc43df12a171c6067
Author: Alexander Tsamutali <astsmtl AT gmail.com>
Commit: Alexander Tsamutali <astsmtl AT gmail.com>

FUNCTIONS: added grimoire_parse_iw and grimoire_exists functions from
games,
thanks Julien "_kaze_" ROZO for pointing out problem with
games_make_proper_binary on non-castfs machines

diff --git a/ChangeLog b/ChangeLog
index 1f07c38..72b3748 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-07 Alexander Tsamutali <astsmtl AT gmail.com>
+ * FUNCTIONS: added grimoire_parse_iw and grimoire_exists functions
from
+ games
+
2008-02-03 Alexander Tsamutali <astsmtl AT gmail.com>
* FUNCTIONS: added find_and_scam, games_make_proper_binary,
default_games_post_install from games grimoire
diff --git a/FUNCTIONS b/FUNCTIONS
index b3be95c..979f710 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -405,6 +405,30 @@ function check_if_xorg_modular_server()
}

#---
+## @Synopsis a parse_iw clone function
+#---
+
+function grimoire_parse_iw() {
+ local INPUT=$1
+
+ # it is EXTREMELY IMPORTANT that this variable contains an actual
+ # tab character and not some number of spaces. Otherwise BAD THINGS
+ # will happen.
+ local TAB=" "
+ OMIT_IN="${TAB}rename\|${TAB}symlink\|${TAB}unlink"
+
+ grep -v "$OMIT_IN" $INPUT | cut -f3 | grep "^/"
+ cat $INPUT | cut -f4 | grep "^/"
+}
+
+#---
+## @Synopsis an exists clone function
+#---
+function grimoire_exists() {
+ while read ITEM; do [ -e "$ITEM" ] && echo "$ITEM"; done;
+}
+
+#---
## @Synopsis default_games_build function to replace
## @Synopsis all the duplication of the same stuff in games-grimoire
#---



  • [SM-Commit] GIT changes to master z-rejected grimoire by Alexander Tsamutali (22f17461e8ee04730f170f666489c25ad786e70a), Alexander Tsamutali, 02/06/2008

Archive powered by MHonArc 2.6.24.

Top of Page