aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/bash/fetch.sh
blob: b1b77e8b1cc7011614c77691eb62b3836a794d92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if [ ! -d android_external_bash-cm-14.1 ]; then
	curl -L -o bash.zip https://github.com/LineageOS/android_external_bash/archive/cm-14.1.zip
	unzip bash.zip
	rm bash.zip
fi

if [ ! -d android_external_libncurses-cm-14.1 ]; then
	curl -L -o ncurses.zip https://github.com/LineageOS/android_external_libncurses/archive/cm-14.1.zip
	unzip ncurses.zip
	rm ncurses.zip
fi