Skip to content

Commit 9a9fdac

Browse files
committed
change path to be consistent
1 parent 7680c65 commit 9a9fdac

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/linux_dev_env/arch.sh

100644100755
File mode changed.

scripts/linux_dev_env/debian.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ FROM debian:12.10
44
RUN apt update && apt install -y xz-utils curl
55
RUN useradd -m ctc
66
RUN mkdir -m 0755 /nix && chown ctc /nix
7-
WORKDIR /home/ctc
7+
RUN mkdir /home/ctc/scripts
8+
WORKDIR /home/ctc/scripts/
89
ENV HOME=/home/ctc
910

1011
# copy everything over
11-
RUN mkdir /home/ctc/scripts
1212
COPY ./*.sh /home/ctc/scripts
1313
RUN chown -R ctc:ctc /home/ctc/scripts
1414
RUN chmod +x /home/ctc/scripts/*

scripts/linux_dev_env/linux_env.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ fi
3030
echo "Kernel version $(uname -r) confirmed."
3131

3232
# source the ${OS}.sh script to get all of the functions we need
33-
source "scripts/common.sh"
34-
source "scripts/$OS.sh"
33+
source "common.sh"
34+
source "$OS.sh"
3535

3636
# install required packages
3737
echo "Installing required packages..."

0 commit comments

Comments
 (0)