1 2 3 4 5 6 7
#!/bin/sh if [ `id -u` -ne 0 ] then echo 'this script should be run as root' >&2 exit 1 fi su - <%= build_login %> -c "iurt --no-rsync -r mandriva2010.1 x86_64 $@"