mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
rosenthal: Reorganize scripts.
* README.org (Content): Move to... * etc/docs/index.org: ...this new file. * pre-inst-env: Prepend etc/scripts to PATH. * etc/scripts/index.scm: Rename to... * etc/scripts/index: ...this. * etc/committer.scm: Rename to... * etc/scripts/committer: ...this.
This commit is contained in:
6 files changed
+210
-148
No files matched your search
+6
-3
@@ -1,8 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
load_path="$(dirname "$(realpath "$0")")/modules"
|
||||
TOP_DIR="$(dirname "$(realpath "$0")")"
|
||||
modules="$TOP_DIR/modules"
|
||||
scripts="$TOP_DIR/etc/scripts"
|
||||
|
||||
export GUILE_LOAD_PATH="${load_path}${GUILE_LOAD_PATH:+:}${GUILE_LOAD_PATH}"
|
||||
export GUIX_PACKAGE_PATH="${load_path}${GUIX_PACKAGE_PATH:+:}${GUIX_PACKAGE_PATH}"
|
||||
export GUILE_LOAD_PATH="${modules}${GUILE_LOAD_PATH:+:}${GUILE_LOAD_PATH}"
|
||||
export GUIX_PACKAGE_PATH="${modules}${GUIX_PACKAGE_PATH:+:}${GUIX_PACKAGE_PATH}"
|
||||
export PATH="${scripts}${PATH:+:}${PATH}"
|
||||
|
||||
exec "$@"
|
||||
Reference in new issue
Block a user