[Lunar-commits] r21462 - lunar/branches/stable/var/lib/lunar/functions
Auke Kok
sofar at lunar-linux.org
Thu Sep 21 03:34:57 UTC 2006
Author: sofar
Date: 2006-09-21 03:34:57 +0000 (Thu, 21 Sep 2006)
New Revision: 21462
Modified:
lunar/branches/stable/var/lib/lunar/functions/misc.lunar
Log:
Helper function
Modified: lunar/branches/stable/var/lib/lunar/functions/misc.lunar
===================================================================
--- lunar/branches/stable/var/lib/lunar/functions/misc.lunar 2006-09-21 03:33:29 UTC (rev 21461)
+++ lunar/branches/stable/var/lib/lunar/functions/misc.lunar 2006-09-21 03:34:57 UTC (rev 21462)
@@ -166,3 +166,9 @@
cat -
fi
}
+
+
+source_basename()
+{
+ echo $1 | sed 's/.tar.\(bz2\|gz\)$//g'
+}
More information about the Lunar-commits
mailing list