Skip to content

Commit ac5e077

Browse files
committed
Renamed ROOT to DIR
This is less misleading.
1 parent e52296f commit ac5e077

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.devcontainer/build-common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bash
22
set -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

88
mkdir -p ~/bin
99

.devcontainer/build-dev.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env bash
22
set -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

1010
cat >> ~/.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
1313
fi
1414
export BUILD_VERSION_CHECK_DONE=true

0 commit comments

Comments
 (0)