The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/libsodium/test/default/nacl-test-wrapper.sh

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #! /bin/sh
    2 
    3 if [ -z "$NACL_SDK_ROOT" ]; then
    4   echo "The following variable needs to be set:
    5   \$NACL_SDK_ROOT=$NACL_SDK_ROOT" >&2
    6   exit 1
    7 fi
    8 
    9 if [ -z "$PNACL_FINALIZE" -o -z "$PNACL_TRANSLATE" ]; then
   10   exe="$1"
   11 else
   12   exe="$1.nexe"
   13   if [ ! -f "$exe" ]; then
   14     $PNACL_FINALIZE "$1" -o "$1.final"
   15     $PNACL_TRANSLATE -arch $(uname -m) "$1.final" -o "$exe"
   16   fi
   17 fi
   18 
   19 command -v command >/dev/null 2>&1 || {
   20   echo "command is required, but wasn't found on this system" >&2
   21   exit 1
   22 }
   23 
   24 command -v python >/dev/null 2>&1 || {
   25   echo "Python not found. Aborting." >&2
   26   exit 1
   27 }
   28 
   29 SEL_LDR=$(find "$NACL_SDK_ROOT" -name sel_ldr.py | head -n 1)
   30 if [ -z "$SEL_LDR" ]; then
   31   echo "Couldn't find sel_ldr.py under $NACL_SDK_ROOT" >&2
   32   exit 1
   33 fi
   34 
   35 exec python "$SEL_LDR" "$exe"

Cache object: ba75f225c02b7c9591341a8abe900171


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.