aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2015-04-05 10:40:01 +0200
committerKristian Lyngstol <kristian@bohemians.org>2015-04-05 10:40:01 +0200
commitd596165ea5a110d4e043cbc2775ce888cfd6ae84 (patch)
tree6b850d7bbeec9e5d0c5dd5fd6808637d7b9790cf /tools
parentc7cfa3768c6428acfcc2ee5331133f46275c6940 (diff)
tg15 cleanup
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-dummy-placement.sh (renamed from tools/make_dummy_placement.sh)3
-rwxr-xr-xtools/make-switches.pl1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/make_dummy_placement.sh b/tools/make-dummy-placement.sh
index 8a2a831..192e3d3 100755
--- a/tools/make_dummy_placement.sh
+++ b/tools/make-dummy-placement.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# Generate a random placement-entry insert for a named switch (convenient
+# if you manually add a switch with no placement)
+
for a in $* ; do
X=$(( $RANDOM % 500 ))
Y=$(( $RANDOM % 500 ))
diff --git a/tools/make-switches.pl b/tools/make-switches.pl
index beb4343..c0c842a 100755
--- a/tools/make-switches.pl
+++ b/tools/make-switches.pl
@@ -1,4 +1,5 @@
#! /usr/bin/perl
+
use strict;
use warnings;