Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747806
D1179.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1179.diff
View Options
diff --git a/roles/shellserver/userland-software/files/install-eggdrop.sh b/roles/shellserver/userland-software/files/install-eggdrop.sh
--- a/roles/shellserver/userland-software/files/install-eggdrop.sh
+++ b/roles/shellserver/userland-software/files/install-eggdrop.sh
@@ -30,7 +30,7 @@
wget ftp://ftp.eggheads.org/pub/eggdrop/source/${EGGDROP_VERSION_MAJOR}/eggdrop-${EGGDROP_VERSION}.tar.gz
tar xzf eggdrop-${EGGDROP_VERSION}.tar.gz
-cd eggdrop-${EGGDROP_VERSION}
+cd eggdrop-${EGGDROP_VERSION} || exit 1
# -------------------------------------------------------------
# Configure step
@@ -40,11 +40,11 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ -f /etc/debian_version ]; then
- ARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
- CFLAGS="-std=gnu89" ./configure --with-tclinc=/usr/include/tcl${TCL_VERSION}/tcl.h --with-tcllib=/usr/lib/$ARCH/libtcl${TCL_VERSION}.so
-elif [ `uname` = "FreeBSD" ]; then
- TCL_VERSION_LIB=`echo $TCL_VERSION | tr -d .`
- ./configure --with-tclinc=/usr/local/include/tcl${TCL_VERSION}/tcl.h -with-tcllib=/usr/local/lib/libtcl${TCL_VERSION_LIB}.so
+ ARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+ CFLAGS="-std=gnu89" ./configure --with-tclinc=/usr/include/tcl${TCL_VERSION}/tcl.h --with-tcllib="/usr/lib/$ARCH/libtcl${TCL_VERSION}.so"
+elif [ "$(uname)" = "FreeBSD" ]; then
+ TCL_VERSION_LIB=$(echo $TCL_VERSION | tr -d .)
+ ./configure --with-tclinc=/usr/local/include/tcl${TCL_VERSION}/tcl.h -with-tcllib="/usr/local/lib/libtcl${TCL_VERSION_LIB}.so"
else
./configure
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 04:50 (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248684
Default Alt Text
D1179.diff (1 KB)
Attached To
Mode
D1179: Improve eggdrop installer robustness
Attached
Detach File
Event Timeline
Log In to Comment