Bläddra i källkod

build: better NaCl version detection.

legacy
Sam Hocevar sam 11 år sedan
förälder
incheckning
6f1c4ec25b
1 ändrade filer med 3 tillägg och 9 borttagningar
  1. +3
    -9
      build/run-bitten.sh

+ 3
- 9
build/run-bitten.sh Visa fil

@@ -210,15 +210,9 @@ append ""

append "[pepper]"
if [ "$family" != "windows" ]; then
if [ -d "$NACL_SDK_ROOT" ]; then
pepper_version=0
for dir in "$NACL_SDK_ROOT/pepper_"*; do
new_version="$(echo "$dir" | sed 's/.*_//')"
if [ "$new_version" -gt "$pepper_version" ]; then
pepper_version="$new_version"
fi
done
if [ "$pepper_version" != 0 ]; then
if [ -f "$NACL_SDK_ROOT/README" ]; then
pepper_version=$(sed -ne 's/Version: //p' "$NACL_SDK_ROOT/README")
if [ "x$pepper_version" != "x" ]; then
append "version = $pepper_version"
fi
fi


Laddar…
Avbryt
Spara