Pārlūkot izejas kodu

build: better NaCl version detection.

legacy
Sam Hocevar sam pirms 11 gadiem
vecāks
revīzija
6f1c4ec25b
1 mainītis faili ar 3 papildinājumiem un 9 dzēšanām
  1. +3
    -9
      build/run-bitten.sh

+ 3
- 9
build/run-bitten.sh Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt