Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (13 sloc) 341 Bytes
#!/bin/sh
EXT=".php"
file="`readlink -f "$0"`"
dir="`dirname "$file"`"
DIRNAME="`readlink -f "$dir"`"
if [ `whoami` != "root" ]
then
# echo "Performing sudo - I need root to edit your hosts file."
# The above message is included if anyone wants it, but it got annoying.
sudo $0 $*
exit $?
fi
$DIRNAME/get-shit-done$EXT $*