diff options
author | EuAndreh <eu@euandre.org> | 2023-11-25 19:54:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-25 19:54:30 -0300 |
commit | 1d682e2c25d9e9b965fd653a94e9c291eb74506e (patch) | |
tree | 77a994287e279c56703e06b9ac8fc332a39528d3 /src/scripts | |
parent | description: Add simple description text file (diff) | |
download | asami-1d682e2c25d9e9b965fd653a94e9c291eb74506e.tar.gz asami-1d682e2c25d9e9b965fd653a94e9c291eb74506e.tar.xz |
Change "src/infrastructure/ => src/" everywhere
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/reconfigure.sh | 10 | ||||
-rwxr-xr-x | src/scripts/report.sh | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/scripts/reconfigure.sh b/src/scripts/reconfigure.sh index 8fa47c5..08585b3 100755 --- a/src/scripts/reconfigure.sh +++ b/src/scripts/reconfigure.sh @@ -121,14 +121,14 @@ sudo -u deployer --preserve-env=GIT_CONFIG_GLOBAL git checkout "$SHA" guix system describe if [ "$DRY_RUN" = true ]; then - sudo -i guix system -c$NPROC -v3 build "$PWD"/src/infrastructure/guix/system.scm + sudo -i guix system -c$NPROC -v3 build "$PWD"/src/guix/system.scm else # COMMENT: pre-receive is always running the previous version! # The same is true for the reconfigure script itself. - cp description "$REPO"/description - cp src/infrastructure/ci/git-pre-receive.sh "$REPO"/hooks/pre-receive - cp src/infrastructure/guix/channels.scm /etc/guix/ - cp src/infrastructure/guix/system.scm /etc/guix/ + cp description "$REPO"/description + cp src/ci/git-pre-receive.sh "$REPO"/hooks/pre-receive + cp src/guix/channels.scm /etc/guix/ + cp src/guix/system.scm /etc/guix/ sudo -i guix system -c$NPROC -v3 reconfigure /etc/guix/system.scm diff --git a/src/scripts/report.sh b/src/scripts/report.sh index e14e40a..d9f0786 100755 --- a/src/scripts/report.sh +++ b/src/scripts/report.sh @@ -119,8 +119,8 @@ if [ -z "${OUTDIR:-}" ]; then exit 2 fi -if [ -r src/infrastructure/config/conf.env ]; then - CONF=src/infrastructure/config/conf.env +if [ -r src/config/conf.env ]; then + CONF=src/config/conf.env else CONF=/etc/conf.env fi |