Initial add of defaria.com
[clearscm.git] / defaria.com / Computers / code / adm / bin / sudo
1 #!/bin/bash
2 ################################################################################
3 #
4 # File:         sudo
5 # Description:  Run sudo
6 # Author:       Andrew@DeFaria.com
7 # Created:      Fri Sep 24 10:11:56 PDT 1999
8 # Language:     Korn Shell
9 #
10 # (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved
11 #
12 ################################################################################
13 # Set me to command name
14 me=$(basename $0)
15
16 # Set app_base
17 app_base=${app_base:-$HOME/app}
18
19 # Set sudo_base
20 sudo_base=$app_base/opt/sudo/bin
21
22 # Exec the executable.
23 exec $sudo_base/$me "$@"