summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-07 19:26:19 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-07 19:26:19 +0100
commitfbc325a511ae8e08ff8a0fa14a5bdf5910dddc4f (patch)
tree1eaac5dd5cdb9f341709b5d374d19d6c81b11a67
parent35964f8dbd2b4497e753eb02dab694f9e45b0f18 (diff)
Didn't work as expected - fixing local compilation.
-rwxr-xr-xcompilation22
1 files changed, 13 insertions, 9 deletions
diff --git a/compilation b/compilation
index 91ac28c..dd427bb 100755
--- a/compilation
+++ b/compilation
@@ -6,8 +6,12 @@
# not limited to, mysql-client-dev, imagemagick-dev, and oracle-occi
#
+githostname="git.grumpycoder.net"
+
if [ "x$USER" = "xpixel" ] || [ "x$USER" = "xnnoble" ] ; then
- if [ "x$HOSTNAME" != "xgrumpy" ] ; then
+ if [ "x$HOSTNAME" = "xgrumpy" ] ; then
+ githostname=""
+ else
prefix="ssh+git://pixel@"
fi
path="/pub/repo.git"
@@ -19,14 +23,14 @@ fi
tar xvfz Mesa-7.4.4-osmesa-linux-precomp.tar.gz
tar xvfz tinyxml-src.tar.gz
-git clone ${prefix}git.grumpycoder.net${path}/Baltisot
-git clone ${prefix}git.grumpycoder.net${path}/mogltk
-git clone ${prefix}git.grumpycoder.net${path}/lua-interface
-git clone ${prefix}git.grumpycoder.net${path}/lua-modules
-git clone ${prefix}git.grumpycoder.net${path}/lua-modules-cd-tool
-git clone ${prefix}git.grumpycoder.net${path}/PSX-Bundle
-git clone ${prefix}git.grumpycoder.net${path}/lua-modules-iup
-git clone ${prefix}git.grumpycoder.net${path}/LuaJIT
+git clone ${prefix}${githostname}${path}/Baltisot
+git clone ${prefix}${githostname}${path}/mogltk
+git clone ${prefix}${githostname}${path}/lua-interface
+git clone ${prefix}${githostname}${path}/lua-modules
+git clone ${prefix}${githostname}${path}/lua-modules-cd-tool
+git clone ${prefix}${githostname}${path}/PSX-Bundle
+git clone ${prefix}${githostname}${path}/lua-modules-iup
+git clone ${prefix}${githostname}${path}/LuaJIT
cd Baltisot/lib/
./genloadlib.sh > loadlualibs.ii