From: lace <> Date: Wed, 30 Aug 2006 20:54:28 +0000 (+0000) Subject: Bootstrap. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=44ba89f224de85177a1b33359430baf016949267;hp=f4b8f29ef336f1427101fe6e53de7f7b999ffdd8 Bootstrap. --- diff --git a/boot b/boot new file mode 100755 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