sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a88d47e719c8aa0e77ae6c2ed26c372f10fd1e7b)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a88d47e719c8aa0e77ae6c2ed26c372f10fd1e7b)
- Date: Mon, 18 Feb 2019 00:59:53 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
shell-term-fm/bash/DETAILS | 18 +++++++-----------
shell-term-fm/bash/HISTORY | 3 +++
2 files changed, 10 insertions(+), 11 deletions(-)
New commits:
commit a88d47e719c8aa0e77ae6c2ed26c372f10fd1e7b
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
shell-term-fm/bash: reorganized for loop in DETAILS
diff --git a/shell-term-fm/bash/DETAILS b/shell-term-fm/bash/DETAILS
index f453c55..f183ba4 100755
--- a/shell-term-fm/bash/DETAILS
+++ b/shell-term-fm/bash/DETAILS
@@ -17,17 +17,13 @@ SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$XVERSION"
SOURCE2_IGNORE=signature
SOURCE4_IGNORE=signature
PATCHES_URL="${GNU_URL}/${SPELL}/${SPELL}-${XVERSION}-patches"
-declare -i index=5
-declare -i sigindex=index+1
-for i in $(seq -f "%03g" $BASH_PATCHLEVEL); do
- eval "SOURCE${index}=\${SPELL}\${XVERSION//./}-\${i}
- SOURCE${index}_URL[0]=\${PATCHES_URL}/\${SOURCE${index}}
- SOURCE${sigindex}=\${SOURCE${index}}.sig
- SOURCE${sigindex}_URL[0]=\${SOURCE${index}_URL[0]}.sig
- SOURCE${index}_GPG=gnu.gpg:\${SOURCE${sigindex}}:UPSTREAM_KEY
- SOURCE${sigindex}_IGNORE=signature"
- ((index+=2))
- ((sigindex+=2))
+for ((i=5; i<=2*BASH_PATCHLEVEL + 3; i+=2)); do
+ eval "SOURCE${i}=\${SPELL}\${XVERSION//./}-\$(printf \"%03d\"
\$(((i-3)/2)))
+ SOURCE${i}_URL[0]=\${PATCHES_URL}/\${SOURCE${i}}
+ SOURCE$((i+1))=\${SOURCE${i}}.sig
+ SOURCE$((i+1))_URL[0]=\${SOURCE${i}_URL[0]}.sig
+ SOURCE${i}_GPG=gnu.gpg:\${SOURCE$((i+1))}:UPSTREAM_KEY
+ SOURCE$((i+1))_IGNORE=signature"
done
WEB_SITE=http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
ENTERED=20010922
diff --git a/shell-term-fm/bash/HISTORY b/shell-term-fm/bash/HISTORY
index 984833c..2a55086 100644
--- a/shell-term-fm/bash/HISTORY
+++ b/shell-term-fm/bash/HISTORY
@@ -1,3 +1,6 @@
+2019-02-17 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: tydying up for loop, made it similar to PRE_BUILD one
+
2019-01-25 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 5.0.2
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (a88d47e719c8aa0e77ae6c2ed26c372f10fd1e7b), Pavel Vinogradov, 02/17/2019
Archive powered by MHonArc 2.6.24.