[Lunar-commits] <lunar> Helper function

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:13 CEST 2012


commit 07d96759c46b7120bcac8875ddec1ff69b69cd55
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Thu Sep 21 03:34:57 2006 +0000

    Helper function
---
 var/lib/lunar/functions/misc.lunar |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/var/lib/lunar/functions/misc.lunar b/var/lib/lunar/functions/misc.lunar
index 3353748..4880e54 100644
--- a/var/lib/lunar/functions/misc.lunar
+++ b/var/lib/lunar/functions/misc.lunar
@@ -166,3 +166,9 @@ custom_filters()
 		cat -
 	fi
 }
+
+
+source_basename()
+{
+	echo $1 | sed 's/.tar.\(bz2\|gz\)$//g'
+}


More information about the Lunar-commits mailing list