reset build dir each time
This commit is contained in:
1 parent
ed880c10f7
commit
f9e06afbd8
1 file changed
+2
-3
@@ -5,9 +5,8 @@
|
|||||||
if which brl > /dev/null 2>&1; then
|
if which brl > /dev/null 2>&1; then
|
||||||
echo "Fetching latest commits from repository..."
|
echo "Fetching latest commits from repository..."
|
||||||
if [ -d /bedrock/cache/bedrocklinux-userland ]; then
|
if [ -d /bedrock/cache/bedrocklinux-userland ]; then
|
||||||
cd /bedrock/cache/bedrocklinux-userland
|
less_lethal_rm_rf /bedrock/cache/bedrocklinux-userland
|
||||||
git pull -q
|
fi
|
||||||
else
|
|
||||||
mkdir -p /bedrock/cache
|
mkdir -p /bedrock/cache
|
||||||
cd /bedrock/cache
|
cd /bedrock/cache
|
||||||
git clone https://github.com/bedrocklinux/bedrocklinux-userland
|
git clone https://github.com/bedrocklinux/bedrocklinux-userland
|
||||||
|
|||||||
Reference in new issue
Block a user