summaryrefslogtreecommitdiff
path: root/lb
blob: 85fb4df85fe95ff2c558b8955ad481b9d2012f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# LibreTools wrapper
# License: GPLv3

source /etc/libretools.conf

command=$1; shift

[[ ! -x ~/l/libre"${command}" ]] && {
  error "Command not found"
  exit 1
}

~/l/libre${command} "$@"

exit $?