1 #!/bin/sh 2 APXS=`which apxs2 2>/dev/null` 3 if [ -z "$APXS" ]; then 4 APXS=`which apxs 2>/dev/null` 5 fi 6 7 if [ -z "$APXS" ]; then 8 if [ -f /usr/sbin/apxs2 ]; then 9 APXS=/usr/sbin/apxs2 10 elif [ -f /usr/sbin/apxs ]; then 11 APXS=/usr/sbin/apxs 12 fi 13 fi 14 15 $APXS $@