src/Makefile: Ignore fldb/ and personnr/ and add fixmes with reasoning
[sunny256-utils.git] / audacity
blobeaa987f2180956eed0071feb98662b32870305bd
1 #!/usr/bin/env bash
3 #=======================================================================
4 # audacity
5 # File ID: 2c780c66-e36e-11e5-a57a-02010e0a6634
7 # Audacity wrapper
9 # Author: Øyvind A. Holm <sunny@sunbase.org>
10 # License: GNU General Public License version 2 or later.
11 #=======================================================================
13 progname=audacity
14 VERSION=0.3.1
16 conffile=~/.audacity-data/audacity.cfg
18 if test -e "$conffile"; then
19 # Export audio to the current directory
20 perl -pi -e 's/^(DefaultExportPath|DefaultOpenPath|Path)=(\/.*)/$1=/' "$conffile" || exit 1
23 if test -e /usr/bin/audacity; then
24 /usr/bin/audacity "$@" &>/dev/null
25 else
26 echo $progname: Audacity isn\'t installed here >&2
27 exit 1