Skip to content
Browse files

misc.lunar: Readding source_basename, used by plugins like git and svn

  • Loading branch information...
1 parent 5c5b927 commit 60ef2e786cba525ff7647cf0789395e52476caad @Ratler Ratler committed Feb 16, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 libs/misc.lunar
View
4 libs/misc.lunar
@@ -213,6 +213,10 @@ last_kernel()
fi
}
+source_basename()
+{
+ echo $1 | sed 's/.tar.\(bz2\|gz\|xz\)$//g'
+}
xzbz_file()
{

0 comments on commit 60ef2e7

Please sign in to comment.
Something went wrong with that request. Please try again.