From 093a0ac98cd3630bc28cd03b13dc07f1359649c3 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 13 Jul 2015 17:18:30 -0500 Subject: [PATCH] remove the .pl extension from some of the utility scripts. This just makes things more uniform. --- doc/INSTALLING | 4 ++-- scripts/{check_doc.pl => check_doc} | 0 scripts/clean_logs | 2 +- scripts/clean_mud | 6 +++--- scripts/{create_data_dirs.pl => create_data_dirs} | 4 ++-- scripts/{download_lpc_docs.pl => download_lpc_docs} | 2 +- scripts/startmud | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) rename scripts/{check_doc.pl => check_doc} (100%) rename scripts/{create_data_dirs.pl => create_data_dirs} (98%) rename scripts/{download_lpc_docs.pl => download_lpc_docs} (97%) diff --git a/doc/INSTALLING b/doc/INSTALLING index c1824f93c..eaf197f62 100644 --- a/doc/INSTALLING +++ b/doc/INSTALLING @@ -1,7 +1,7 @@ SETTING THINGS UP: --------------------------------------------------------------------- cd to your gurbalib dir and perform the following actions: - perl scripts/create_data_dirs.pl + perl scripts/create_data_dirs This creates empty directories that are not stored in the repository. If you do not have perl on your system you can just read the script and figure out what directorys to create. @@ -65,7 +65,7 @@ Downloading additional documentation. cd ../.. You can also run the following script to download yet more docs: - ./scripts/download_lpc_docs.pl + ./scripts/download_lpc_docs Gurbalib ships with an ftp server which is enabled by default, diff --git a/scripts/check_doc.pl b/scripts/check_doc similarity index 100% rename from scripts/check_doc.pl rename to scripts/check_doc diff --git a/scripts/clean_logs b/scripts/clean_logs index 9b2fe3113..9a77e98b6 100755 --- a/scripts/clean_logs +++ b/scripts/clean_logs @@ -9,7 +9,7 @@ sub rm_dir { } } -if (!-f "scripts/create_data_dirs.pl") { +if (!-f "scripts/create_data_dirs") { print "Error I'm not in the right location. You need to run this script\n"; print "in the base directory gurablib.\n"; print "\tcd to your gurbalib then type: scripts/clean_logs\n"; diff --git a/scripts/clean_mud b/scripts/clean_mud index 659b6699a..308b2699c 100755 --- a/scripts/clean_mud +++ b/scripts/clean_mud @@ -9,10 +9,10 @@ sub rm_dir { } } -if (!-f "scripts/create_data_dirs.pl") { +if (!-f "scripts/create_data_dirs") { print "Error I'm not in the right location. You need to run this script\n"; print "in the base directory gurablib.\n"; - print "\tcd to your gurbalib then type: scripts/create_data_dirs.pl\n"; + print "\tcd to your gurbalib then type: scripts/create_data_dirs\n"; exit 1; } @@ -42,5 +42,5 @@ rm_dir("lib/tmp"); rm_dir("lib/logs"); rm_dir("lib/wiz"); -print "You should run scripts/create_data_dirs.pl to recreate your " . +print "You should run scripts/create_data_dirs to recreate your " . "data directories.\n"; diff --git a/scripts/create_data_dirs.pl b/scripts/create_data_dirs similarity index 98% rename from scripts/create_data_dirs.pl rename to scripts/create_data_dirs index e09f67fd9..63a56fdab 100755 --- a/scripts/create_data_dirs.pl +++ b/scripts/create_data_dirs @@ -11,10 +11,10 @@ sub makedir { # system("touch $infile/blah"); } -if (!(-f "scripts/create_data_dirs.pl")) { +if (!(-f "scripts/create_data_dirs")) { print "Error I'm not in the right location. You need to run this script\n"; print "in the base directory gurablib.\n"; - print "\tcd to your gurbalib then type: scripts/create_data_dirs.pl\n"; + print "\tcd to your gurbalib then type: scripts/create_data_dirs\n"; exit 1; } diff --git a/scripts/download_lpc_docs.pl b/scripts/download_lpc_docs similarity index 97% rename from scripts/download_lpc_docs.pl rename to scripts/download_lpc_docs index 7e788c1b2..d6e82b726 100755 --- a/scripts/download_lpc_docs.pl +++ b/scripts/download_lpc_docs @@ -2,7 +2,7 @@ # # Use this script to download extra introduction to LPC documentation. # You should run this script from the gurbalib directory -# (./scripts/download_lpc_docs.pl) +# (./scripts/download_lpc_docs) # $root is the final location of the docs. my $root = "./lib/doc/lpc"; my ($fh, $i, $wget); diff --git a/scripts/startmud b/scripts/startmud index 05e5e9a74..6dd71f857 100755 --- a/scripts/startmud +++ b/scripts/startmud @@ -5,7 +5,7 @@ if [ -d ./lib/logs ]; then mv $LOG $LOG.old else echo "Cannot locate ./lib/logs" - echo "did you run scripts/create_data_dirs.pl?" + echo "did you run scripts/create_data_dirs?" exit 1 fi