Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master quill by Ismael Luceno (439e558ae3dbe40bfeec330f1d355e5850fbf5c5)

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 quill by Ismael Luceno (439e558ae3dbe40bfeec330f1d355e5850fbf5c5)
  • Date: Tue, 6 Jan 2015 06:51:27 -0600

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

usr/bin/quill | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

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

quill: Improve parsing of URL as first argument

diff --git a/usr/bin/quill b/usr/bin/quill
index be95b3d..5f6cf99 100755
--- a/usr/bin/quill
+++ b/usr/bin/quill
@@ -101,7 +101,10 @@ if [[ -z $QUILL_TARGET ]]; then
case "$1" in
*:*)
SPELL_SRC_URL="$1"
- QUILL_ORIG_TARGET=$(basename "$1" | sed 's@[-._][0-9][^-_]*$@@')
+ QUILL_ORIG_TARGET=$(sed -r '
+
s@([-.]src)?([-._][0-9][^-._/]*)*([-.]src)?([.][^-._]+)*(/download/?)?([?].*)?$@@
+ s@.*/@@
+ ' <<< "$1")
;;
*)
QUILL_ORIG_TARGET="$1"



  • [SM-Commit] GIT changes to master quill by Ismael Luceno (439e558ae3dbe40bfeec330f1d355e5850fbf5c5), Ismael Luceno, 01/06/2015

Archive powered by MHonArc 2.6.24.

Top of Page