From: Ari Johnson Date: Sat, 3 Mar 2007 04:08:53 +0000 (+0000) Subject: Made preparedist.sh set scripts executable X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=d411810fb99c29be1e89f65be40177f4a9e96c9c;p=cobramush.git Made preparedist.sh set scripts executable --- diff --git a/utils/preparedist.sh b/utils/preparedist.sh index 8a109c8..7bf9bcc 100644 --- a/utils/preparedist.sh +++ b/utils/preparedist.sh @@ -1,19 +1,30 @@ #!/bin/sh +# Bootstrap +chmod 755 "$0" + SELF=`which "$0"` DIR=`dirname "$SELF"` cd "$DIR" cd .. -# Step 1: run metaconfig +# Step 1: set appropriate scripts executable +echo "Setting scripts executable..." +chmod 755 utils/customize.pl +chmod 755 utils/make_access_cnf.sh +chmod 755 utils/mkvershlp.pl +chmod 755 utils/update-cnf.pl +chmod 755 utils/update.pl + +# Step 2: run metaconfig echo "Running metaconfig to generate Configure and config_h.SH..." metaconfig -M -# Step 2: generate changes.txt +# Step 3: generate changes.txt echo "Generating changes.txt..." ( cd game/txt && ruby genchanges.rb ) -# Step 3: index help files +# Step 4: index help files echo "Indexing help, news, and events..." cd game/txt for i in hlp nws evt ; do