git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bootstrap.
[nethome.git]
/
boot
diff --git a/boot
b/boot
new file mode 100755
(executable)
index 0000000..
63fcf5a
--- /dev/null
+++ b/
boot
@@ -0,0
+1,17
@@
+#! /bin/sh
+#
+# $Id$
+
+
+set -e
+abs="${BASH_SOURCE[0]}"
+if [ "$abs" = "${abs#/}" ];then
+ abs="$PWD/$abs"
+fi
+abs="`dirname "$abs"`"
+export HOME="$abs"
+unset abs
+cd
+set +e
+. .bashrc
+echo OK