File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euxo pipefail
33
4- ROOT =" $( cd " $( dirname " $0 " ) " && pwd) "
4+ DIR =" $( cd " $( dirname " $0 " ) " && pwd) "
55
6- source " $ROOT /utils.sh"
6+ source " $DIR /utils.sh"
77
88mkdir -p ~ /bin
99
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euxo pipefail
33
4- ROOT =" $( cd " $( dirname " $0 " ) " && pwd) "
4+ DIR =" $( cd " $( dirname " $0 " ) " && pwd) "
55
6- " $ROOT /build-common.sh"
6+ " $DIR /build-common.sh"
77
8- source " $ROOT /utils.sh"
8+ source " $DIR /utils.sh"
99
1010cat >> ~ /.bashrc << EOF
11- if [ -z "\$ BUILD_VERSION_CHECK_DONE" ] && ! diff -q "$ROOT " ".devcontainer/" > /dev/null; then
11+ if [ -z "\$ BUILD_VERSION_CHECK_DONE" ] && ! diff -q "$DIR " ".devcontainer/" > /dev/null; then
1212 echo -e "\e[1m\e[31mThis container is outdated. Please rebuild.\e[0m" > /dev/stderr
1313fi
1414export BUILD_VERSION_CHECK_DONE=true
You can’t perform that action at this time.
0 commit comments