Initial commit

This commit is contained in:
alexpete
2021-03-05 11:26:34 -08:00
commit a10351f38d
27091 changed files with 5521199 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
@ECHO OFF
REM
REM All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
REM its licensors.
REM
REM For complete copyright and license terms please see the LICENSE at the root of this
REM distribution (the "License"). All use of this software is governed by the License,
REM or, if provided, by the license below or the license accompanying this file. Do not
REM remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM
SETLOCAL
SET CMD_DIR=%~dp0
SET CMD_DIR=%CMD_DIR:~0,-1%
echo WARNING: Using deprecated python3.sh in $DIR - please update your scripts
echo to use python.sh in the python subfolder of the root instead.
rem we fetch python pre-emptively because the prior legacy system had
rem python pre-installed...
call %CMD_DIR%/../../python/get_python.bat
if ERRORLEVEL 1 (
ECHO Failed to fetch python
EXIT /b 1
)
call %CMD_DIR%/../../python/python.cmd %*
exit /b %ERRORLEVEL%
+40
View File
@@ -0,0 +1,40 @@
#!/bin/bash
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
# Original file Copyright Crytek GMBH or its affiliates, used under license.
SOURCE="${BASH_SOURCE[0]}"
# While $SOURCE is a symlink, resolve it
while [ -h "$SOURCE" ]; do
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$( readlink "$SOURCE" )"
# If $SOURCE was a relative symlink (so no "/" as prefix, need to resolve it relative to the symlink base directory
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
echo "WARNING: Using deprecated python3.sh in $DIR - please update your scripts"
echo " to use python.sh in the python subfolder of the root instead."
# we fetch python pre-emptively because the prior legacy system had
# python pre-installed...
$DIR/../../python/get_python.sh
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Error getting python using $DIR/../../python/get_python.sh"
exit 1
fi
$DIR/../../python/python.sh "$@"
exit $?