summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-07 17:45:27 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-07 17:45:27 -0400
commitd866718649a385bdf3366783d9fdbed5a2630f92 (patch)
tree63b79bc71e485bb677212c672c854984ec7ea795
parent2804e28ef22ded73a95da4508f7630db1db3c97d (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.md3
-rwxr-xr-xpre-inst-env6
-rwxr-xr-xscripts/guix-web (renamed from guix-web)1
3 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index b937559..35ef584 100644
--- a/README.md
+++ b/README.md
@@ -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: