aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorEvax Software <[email protected]>2011-04-07 18:07:46 +0200
committerEvax Software <[email protected]>2011-04-07 18:07:46 +0200
commit8406cee3c1d21cd31beb4a516e5fc2c813b3705b (patch)
tree5ed9d6c5627e8779c0e9e215881f0fbe1bf3662d /kerl
parentc7b67dc4baa7cfefd96818fd15a75fb455c3ed4f (diff)
downloadkerl-8406cee3c1d21cd31beb4a516e5fc2c813b3705b.tar.gz
kerl-8406cee3c1d21cd31beb4a516e5fc2c813b3705b.tar.bz2
kerl-8406cee3c1d21cd31beb4a516e5fc2c813b3705b.zip
Fix bug allowing duplicate build names
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 6eadaa0..9021217 100755
--- a/kerl
+++ b/kerl
@@ -194,7 +194,7 @@ do_build()
assert_valid_release $1
if [ -f "$KERL_BASE_DIR/otp_builds" ]; then
for l in `cat "$KERL_BASE_DIR/otp_builds"`; do
- name=`echo $l | cut -d " " -f 1`
+ name=`echo $l | cut -d "," -f 2`
if [ "$name" = "$2" ]; then
echo "There's already a build named $2"
exit 1