summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-29 18:51:36 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-29 18:51:36 +0000
commit6496a56eeed223684954328f6a43b6fb805047ea (patch)
tree300d5d8c1dd0bfc0f1191588f93796b178c9f21a /setup
parentcaa1d56fd25c6c3857b338a9eb8e8d456829e584 (diff)
Changes \ and / characters in a configuration name to _ .
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@150 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'setup')
-rw-r--r--setup3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup b/setup
index 9569e682..fa8b2fa4 100644
--- a/setup
+++ b/setup
@@ -30,6 +30,9 @@ else
$config = $uname;
}
+# Replace slashes with underscores.
+$config =~ s:[/\\]:_:g;
+
# The build directory doesn't exist.
if (! -d "build" && ! -l "build")
{