Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Ismael Luceno (f124a7a555b0271b4207458d71c338aed93a0033)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (f124a7a555b0271b4207458d71c338aed93a0033)
  • Date: Sun, 12 Apr 2015 17:19:20 -0500

GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:

usr/sbin/cleanse | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

New commits:
commit f124a7a555b0271b4207458d71c338aed93a0033
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

cleanse: Fix reading of options array in delint()

commit 8b90c7e07b95a639db60cf91b5cdf6c710560da4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

cleanse: Fix typo

diff --git a/usr/sbin/cleanse b/usr/sbin/cleanse
index 2e256dd..55c0a40 100755
--- a/usr/sbin/cleanse
+++ b/usr/sbin/cleanse
@@ -228,15 +228,14 @@ function delint()
generic_remove_stale "$DEPENDS_STATUS" depends two

message "Pass three (duplicate depends entries)"
- for LINE in $( sed 's/^\([^:]*\):\([^:]*\):.*$/\1:\2/;tp;d;:p;s/+/\\+/}'
$DEPENDS_STATUS | sort | uniq -d ) ; do
+ for LINE in $( sed 's/^\([^:]*\):\([^:]*\):.*$/\1:\2/;tp;d;:p;s/+/\\+/'
"$DEPENDS_STATUS" | sort | uniq -d ) ; do
message
options=()
- awk -v line="^$LINE:" -- '
- $0 ~ line && !($0 in seen) {print count++, $0; seen[$0]}
- ' $DEPENDS_STATUS |
while read v opt; do
options[$v]="$opt"
- done
+ done < <(awk -v line="^$LINE:" -- '
+ $0 ~ line && !($0 in seen) {print count++, $0; seen[$0]}
+ ' "$DEPENDS_STATUS")

if [ ${#options[@]} -gt 1 ] ; then
select_list choice "" "${options[@]}"



  • [SM-Commit] GIT changes to master sorcery by Ismael Luceno (f124a7a555b0271b4207458d71c338aed93a0033), Ismael Luceno, 04/12/2015

Archive powered by MHonArc 2.6.24.

Top of Page