Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
wip

wip

WIP
  • Loading branch information
Lokesh-Carbonix committed Nov 20, 2023
1 parent 49b008e commit b45e829
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Tools/scripts/cygwin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,19 @@ $GPP_COMPILER -print-sysroot
SYS_ROOT=$($GPP_COMPILER -print-sysroot)
echo "SYS_ROOT=$SYS_ROOT"

git config --global --add safe.directory /cygdrive/d/a/ardupilot/ardupilot
REPO_NAME=$(basename $(git rev-parse --show-toplevel))

# Change ownership and permissions
chown -R $USER "/cygdrive/d/a/$REPO_NAME/$REPO_NAME"
chmod -R 755 "/cygdrive/d/a/$REPO_NAME/$REPO_NAME"

echo "Repository name: $REPO_NAME"

git config --global --add safe.directory "/cygdrive/d/a/$REPO_NAME/$REPO_NAME"

echo "Repository name: $REPO_NAME"

git config --global --add safe.directory "/cygdrive/d/a/$REPO_NAME/$REPO_NAME"
rm -rf artifacts
mkdir artifacts

Expand Down

0 comments on commit b45e829

Please sign in to comment.