Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Fixed first-time building
Browse files Browse the repository at this point in the history
  • Loading branch information
makinbacon21 committed Jan 1, 2021
1 parent 9d2bab7 commit a74f658
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Q_Builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sudo apt update
sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf
> imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev
> libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc
> zip zlib1g-dev python python3 binfmt-support qemu qemu-user-static
> zip zlib1g-dev python python3 binfmt-support qemu qemu-user-static repo

# rom type?
while true; do
Expand Down Expand Up @@ -96,18 +96,18 @@ then
fi

# create directories and get repo
mkdir -p $BUILDBASE/bin
mkdir -p ~/bin
mkdir -p $BUILDBASE/android/lineage

# check for missing case sensitivity (assume WSL) and fix if not
if [ -d $BUILDBASE/Bin ];
if [ -d ~/Bin ];
then
cd $CWD
powershell.exe -File "./wsl_cs.ps1" -Buildbase "$BUILDBASE"
powershell.exe -File "./wsl_cs.ps1" -Buildbase "~"
fi

curl https://storage.googleapis.com/git-repo-downloads/repo > $BUILDBASE/bin/repo
chmod a+x $BUILDBASE/bin/repo
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

# check for bin in PATH, add if missing
if ! grep -q "PATH=\"\$HOME/bin:\$PATH\"" ~/.profile ;
Expand Down

0 comments on commit a74f658

Please sign in to comment.