git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4b8f29
)
Bootstrap.
author
lace
<>
Wed, 30 Aug 2006 20:54:28 +0000
(20:54 +0000)
committer
lace
<>
Wed, 30 Aug 2006 20:54:28 +0000
(20:54 +0000)
boot
[new file with mode: 0755]
patch
|
blob
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