From 96e4cbf59f47f56685ffa93f642fa519ff9f701b Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 19 Jul 2011 16:29:45 +0000 Subject: [PATCH] Strip the trailing full stop after printing the saved filename. Now you can just double click on the filename in X and have it copied to the clipboard, without the extra dot. ok martynas@ (MAINTAINER) --- net/yt/Makefile | 4 ++-- net/yt/files/yt.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/yt/Makefile b/net/yt/Makefile index deae1a8a2e5..9b30289e40f 100644 --- a/net/yt/Makefile +++ b/net/yt/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.40 2011/05/30 20:28:54 martynas Exp $ +# $OpenBSD: Makefile,v 1.41 2011/07/19 16:29:45 jasper Exp $ COMMENT= fetch YouTube and Google videos -PKGNAME= yt-17 +PKGNAME= yt-18 CATEGORIES= net www DISTFILES= diff --git a/net/yt/files/yt.lua b/net/yt/files/yt.lua index 0dfc0939f85..9a2ff9c75a3 100644 --- a/net/yt/files/yt.lua +++ b/net/yt/files/yt.lua @@ -1,5 +1,5 @@ #!${LOCALBASE}/bin/lua --- $OpenBSD: yt.lua,v 1.31 2011/05/30 20:28:54 martynas Exp $ +-- $OpenBSD: yt.lua,v 1.32 2011/07/19 16:29:46 jasper Exp $ -- Fetch videos from YouTube.com/Videos.Google.com, and convert to MPEG. -- Written by Pedro Martelletto and Martynas Venckus. Public domain. -- Example: lua yt.lua http://www.youtube.com/watch?v=c5uoo1Kl_uA @@ -183,7 +183,7 @@ for i = 1, table.getn(urls) do io.stderr:write("Converting ...\n") assert(os.execute(cmd) == 0, "Failed") os.remove(flv) - io.stderr:write("Done. Video saved in " .. mp4 .. ".\n") + io.stderr:write("Done. Video saved in " .. mp4 .. "\n") end end