chiark / gitweb /
bin/disorder-notify: Rewrite and take over the functionality of `media-keys'.
[profile] / bin / svnwrap
1 #! /bin/bash
2
3 set -e
4 me=${0##*/}
5
6 # --- Snarfle the arguments ---
7
8 declare -a cmd
9 declare -i i seq
10
11 i=1 seq=0
12 for j; do
13   file=$1; shift
14   case "$file" in
15     :*) file=$SVNROOT/${file#:};;
16   esac
17   cmd[i]=$file
18   i=i+1
19 done
20
21 # --- Run the program ---
22
23 exec "${cmd[@]}"