mirror of
https://github.com/stucki/docker-lineageos
synced 2024-12-19 17:12:29 -05:00
Cleanup
This commit is contained in:
parent
23270ee993
commit
967b20f02e
0
CHANGELOG.md
Executable file → Normal file
0
CHANGELOG.md
Executable file → Normal file
0
Dockerfile
Executable file → Normal file
0
Dockerfile
Executable file → Normal file
19
run.sh
19
run.sh
@ -27,23 +27,6 @@ while [[ $# > 0 ]]; do
|
||||
shift
|
||||
done
|
||||
|
||||
|
||||
while [[ $# > 0 ]]
|
||||
do
|
||||
key="$1"
|
||||
|
||||
case $key in
|
||||
-r|--rebuild)
|
||||
FORCE_BUILD=1
|
||||
;;
|
||||
*)
|
||||
shift # past argument or value
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
|
||||
done
|
||||
|
||||
# Create shared folders
|
||||
mkdir -p $SOURCE
|
||||
mkdir -p $CCACHE
|
||||
@ -70,7 +53,7 @@ elif [[ $FORCE_BUILD = 1 ]] || ! echo "$IMAGE_EXISTS" | grep -q "$TAG"; then
|
||||
fi
|
||||
|
||||
if [[ $OK -ne 0 ]]; then
|
||||
exit 1;
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# With the given name $CONTAINER, reconnect to running container, start
|
||||
|
Loading…
Reference in New Issue
Block a user