view third_party/sqlite3/tea/configure @ 268:f7b1188d5fb1

support repo rules Copilot bundle path Match both +_repo_rules2+ and +http_archive+ Copilot CLI repository layouts during deployment and production startup. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:02:41 -0700
parents 589bab390fb4
children
line wrap: on
line source

#!/bin/sh
# Look for and run autosetup...
dir0="`dirname "$0"`"
dirA="$dir0"
if [ -d $dirA/autosetup ]; then
    # A local copy of autosetup
    dirA=$dirA/autosetup
elif [ -d $dirA/../autosetup ]; then
    # SQLite "autoconf" bundle
    dirA=$dirA/../autosetup
elif [ -d $dirA/../../autosetup ]; then
    # SQLite canonical source tree
    dirA=$dirA/../../autosetup
else
    echo "$0: Cannot find autosetup" 1>&2
    exit 1
fi
WRAPPER="$0"; export WRAPPER; exec "`"$dirA/autosetup-find-tclsh"`" \
                                   "$dirA/autosetup" --teaish-extension-dir="$dir0" \
                                   "$@"