Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master quill by Jaka Kranjc (cfd79f5e645d0e0fdc59f6ff2f145f818fc322ec)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master quill by Jaka Kranjc (cfd79f5e645d0e0fdc59f6ff2f145f818fc322ec)
  • Date: Fri, 11 Aug 2006 06:17:38 -0500

GIT changes to master quill by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

var/lib/quill/ChangeLog | 2 +-
var/lib/quill/modules/libdetails | 15 ++++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)

New commits:
commit cfd79f5e645d0e0fdc59f6ff2f145f818fc322ec
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

moved the sf substitution to the url query

indentation (should really do it over over all sometime)

diff --git a/var/lib/quill/ChangeLog b/var/lib/quill/ChangeLog
index 7345d92..6fefa2d 100644
--- a/var/lib/quill/ChangeLog
+++ b/var/lib/quill/ChangeLog
@@ -20,7 +20,7 @@
2006-08-10 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* install.sh: fix #12951, install.sh was failing with staging or sth
* version: 0.1.5
- * libdetails: substitute prdownloads SF pseudolinks too
+ * libdetails: substitute prdownloads SF pseudolinks too, fixed some
indents
* libcore, quill: use appropriate exit codes when terminating in
quill_help
* libfreshmeatxml: removed unused variable

diff --git a/var/lib/quill/modules/libdetails
b/var/lib/quill/modules/libdetails
index 4231b50..a67519e 100644
--- a/var/lib/quill/modules/libdetails
+++ b/var/lib/quill/modules/libdetails
@@ -6,18 +6,21 @@ # for all the fields that could be fille
# and if so, give the user an opportunity to change the value

function query_spell_name(){
-if ! [[ $SPELL_NAME ]] ||
- ! query "Is $SPELL_NAME the proper spell name?" y; then
- message "${QUERY_COLOR}Please enter the spell name:${DEFAULT_COLOR}"
- read "SPELL_NAME"
-fi
+ if ! [[ $SPELL_NAME ]] ||
+ ! query "Is $SPELL_NAME the proper spell name?" y; then
+ message "${QUERY_COLOR}Please enter the spell name:${DEFAULT_COLOR}"
+ read "SPELL_NAME"
+ fi
}

function query_spell_source_url(){
+ # misc sf fix
+ SPELL_SRC_URL=$(sed
"s,http://prdownloads.sourceforge.net,$SOURCEFORGE_URL,"; <<< $SPELL_SRC_URL)
if ! [[ $SPELL_SRC_URL ]] ||
! query "Is $SPELL_SRC_URL the proper source url?" y; then
message "${QUERY_COLOR}Please enter the url of the source:${DEFAULT_COLOR}"
read "SPELL_SRC_URL"
+ SPELL_SRC_URL=$(sed
"s,http://prdownloads.sourceforge.net,$SOURCEFORGE_URL,"; <<< $SPELL_SRC_URL)
fi
}

@@ -140,8 +143,6 @@ if [[ -n $1 ]]; then
fi
done < <(sed 's,^.*\s\s*,,' $mirror_list)
done
- # misc sf fix
- target_value=$(sed
's,http://prdownloads.sourceforge.net,$SOURCEFORGE_URL,' <<< $target_value)
eval "$target=\"\$target_value\""
fi
}



  • [SM-Commit] GIT changes to master quill by Jaka Kranjc (cfd79f5e645d0e0fdc59f6ff2f145f818fc322ec), Jaka Kranjc, 08/11/2006

Archive powered by MHonArc 2.6.24.

Top of Page