connect.txt generation with preparedist.sh now.. This will
authorRick Bird <nveid@bender.theari.com>
Fri, 25 Mar 2011 22:42:10 +0000 (18:42 -0400)
committerRick Bird <nveid@bender.theari.com>
Fri, 25 Mar 2011 22:42:10 +0000 (18:42 -0400)
give us the right version number in the connect.txt

utils/makeconnect.sh [new file with mode: 0755]
utils/preparedist.sh

diff --git a/utils/makeconnect.sh b/utils/makeconnect.sh
new file mode 100755 (executable)
index 0000000..ef2e395
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+cat > connect.txt <<EOSH
+<This is where you announce that they've connected to your MUSH>
+<It's a good idea to include the version/patchlevel of MUSH you're running>
+<It's a good idea to include an email address for questions about the MUSH>
+EOSH
+
+version=`grep VERSION hdrs/version.h | sed 's/^.*"\(.*\)[p].*$/\1/'`
+header_string="----------------------- CobraMUSH-v$version -------------------------------------"
+echo $header_string >> connect.txt
+cat >> connect.txt << EOSH
+Use create <name> <password> to create a character.
+Use connect <name> <password> to connect to your existing character.
+Use 'ch <name> <pass>' to connect hidden, and cd to connect DARK (admin)
+Use QUIT to logout.
+Use the WHO command to find out who is online currently.
+-----------------------------------------------------------------------------
+Yell at your local god to personalize this file!
+
+EOSH
+
index e2a6ac1bf0bc96d1559e2340bfb1a852f7630141..41078c933d33ab7b0c8afd84d3ca6323cb5ea9ca 100755 (executable)
@@ -42,5 +42,8 @@ for i in hlp nws evt ; do
     cd ..
 done
 
-cd ../..
+# Step 6: Create connect.txt file
+cd ../../
+( utils/makeconnect.sh ; mv connect.txt game/txt )
+