summaryrefslogtreecommitdiff
path: root/compilation
diff options
context:
space:
mode:
Diffstat (limited to '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