Skip to content

Commit

Permalink
fix: some paths in codeql.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Feb 10, 2024
1 parent 7a19c52 commit 2240e33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 75 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/14.yml

This file was deleted.

14 changes: 7 additions & 7 deletions codeql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ function info() {
echo -e "$COL_BLUE[info] $COL_RESET""$1"
}

: "${KERNEL_CONFIG:=RELEASE}"
: "${ARCH_CONFIG:=ARM64}"
: "${MACHINE_CONFIG:=VMAPPLE}"
: "${XNU_VERSION:=''}"
: ${KERNEL_CONFIG:=RELEASE}
: ${ARCH_CONFIG:=ARM64}
: ${MACHINE_CONFIG:=VMAPPLE}
: ${XNU_VERSION:=''}

function install_codeql() {
if ! [ -x "$(command -v codeql)" ]; then
Expand All @@ -51,9 +51,9 @@ function install_codeql() {

function create_db() {
WORK_DIR="$PWD"
BUILD_DIR=${WORK_DIR}/build
FAKEROOT_DIR=${WORK_DIR}/fakeroot
DATABASE_DIR=${WORK_DIR}/xnu-codeql
BUILD_DIR="${WORK_DIR}/build"
FAKEROOT_DIR="${WORK_DIR}/fakeroot"
DATABASE_DIR="${WORK_DIR}/xnu-codeql"
rm -rf "${BUILD_DIR}"
rm -rf "${FAKEROOT_DIR}"
rm -rf "${DATABASE_DIR}"
Expand Down

0 comments on commit 2240e33

Please sign in to comment.