Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 60ef2e786cba525ff7647cf0789395e52476caad 1 parent 5c5b927
@Ratler Ratler authored
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()
{
Please sign in to comment.
Something went wrong with that request. Please try again.