Skip to content

Commit

Permalink
Folder patches
Browse files Browse the repository at this point in the history
  • Loading branch information
yagop committed Oct 24, 2015
1 parent 9fdea2f commit 977c7a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
19 changes: 10 additions & 9 deletions launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ install_rocks() {
RET=$?; if [ $RET -ne 0 ];
then echo "Error. Exiting."; exit $RET;
fi

./.luarocks/bin/luarocks install serpent
RET=$?; if [ $RET -ne 0 ];
then echo "Error. Exiting."; exit $RET;
Expand All @@ -77,15 +77,16 @@ install_rocks() {
install() {
git pull
git submodule update --init --recursive
cd tg && ./configure && make

RET=$?; if [ $RET -ne 0 ]; then
echo "Trying without Python...";
./configure --disable-python && make
RET=$?
fi

patch -i "patches/disable-python-and-libjansson.patch" -p 0 --batch --forward
RET=$?;

cd tg
if [ $RET -ne 0 ]; then
autoconf -i
fi
./configure && make

RET=$?; if [ $RET -ne 0 ]; then
echo "Error. Exiting."; exit $RET;
fi
cd ..
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- configure.ac.back 2015-10-24 13:39:25.273440670 +0200
+++ configure.ac 2015-10-24 13:44:41.635374294 +0200
--- tg/configure.ac 2015-10-24 14:23:51.964259062 +0200
+++ tg/configure.ac 2015-10-24 14:05:10.111062758 +0200
@@ -61,93 +61,43 @@
],[
])
Expand Down

0 comments on commit 977c7a6

Please sign in to comment.