"Fossies" - the Fresh Open Source Software Archive

Member "mod_rpaf-0.8.4/apxs.sh" (3 Sep 2014, 261 Bytes) of package /linux/www/apache_httpd_modules/old/mod_rpaf-0.8.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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 $@