From 50435a2614fe7f28e47164082e846b0a57c7f48c Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Mon, 16 May 2011 19:22:17 -0300 Subject: git-like command wrapper for all libre- commands --- lb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 lb (limited to 'lb') diff --git a/lb b/lb new file mode 100755 index 0000000..d4bd908 --- /dev/null +++ b/lb @@ -0,0 +1,15 @@ +#!/bin/bash +# LibreTools wrapper +# License: GPLv3 + +source /etc/libretools.conf + +command=$1; shift + +[[ ! -f ~/l/libre${command} ]] && { + error "Command not found" +} + +~/l/libre${command} $@ + +exit $? -- cgit v1.2.3