chiark / gitweb /
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
[profile] / bin / svnwrap
CommitLineData
285a1386
MW
1#! /bin/bash
2
3set -e
4me=${0##*/}
5
6# --- Snarfle the arguments ---
7
8declare -a cmd
9declare -i i seq
10
11i=1 seq=0
12for j; do
13 file=$1; shift
14 case "$file" in
15 :*) file=$SVNROOT/${file#:};;
16 esac
17 cmd[i]=$file
18 i=i+1
19done
20
21# --- Run the program ---
22
a9801071 23exec "${cmd[@]}"