diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-07 17:45:27 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-07 17:45:27 -0400 |
commit | d866718649a385bdf3366783d9fdbed5a2630f92 (patch) | |
tree | 63b79bc71e485bb677212c672c854984ec7ea795 | |
parent | 2804e28ef22ded73a95da4508f7630db1db3c97d (diff) |
Move guix-web to scripts directory.
* README.md ("Use"): Update.
* guix-web: Moved.
* pre-inst-env: New file.
* scripts/guix-web: New file.
-rw-r--r-- | README.md | 3 | ||||
-rwxr-xr-x | pre-inst-env | 6 | ||||
-rwxr-xr-x | scripts/guix-web (renamed from guix-web) | 1 |
3 files changed, 8 insertions, 2 deletions
@@ -7,7 +7,8 @@ and JavaScript. Use --- -Simply run `./guix-web` and visit `localhost:8080` in your web browser. +Simply run `./pre-inst-env guix-web` and visit `localhost:8080` in +your web browser. Copyright --------- diff --git a/pre-inst-env b/pre-inst-env new file mode 100755 index 0000000..cd6ad23 --- /dev/null +++ b/pre-inst-env @@ -0,0 +1,6 @@ +#!/bin/bash + +export PATH="$PWD/scripts:$PATH" +export GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH" + +exec "$@" diff --git a/guix-web b/scripts/guix-web index d628987..e28ce1e 100755 --- a/guix-web +++ b/scripts/guix-web @@ -262,5 +262,4 @@ ;;; Local Variables: ;;; mode: scheme -;;; compile-command: "./guix-web" ;;; End: |