summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2015-01-27 03:22:49 -0800
committerRyan Davis <ryand@zenspider.com>2015-01-27 03:22:49 -0800
commit7755dc2c8894c07fb204ea8c862f00926b729862 (patch)
treecd25761f6a338991e981cddec6e74b2655265757 /bin
parent96b443559150088b1ad8b48528b220e3c2b815e3 (diff)
downloadhoe-7755dc2c8894c07fb204ea8c862f00926b729862.tar.gz
minor restructuring
[git-p4: depot-paths = "//src/hoe/dev/": change = 9959]
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sow8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sow b/bin/sow
index 9afab38..a12cb4d 100755
--- a/bin/sow
+++ b/bin/sow
@@ -14,10 +14,10 @@ option = {
}
def check_subdir option
- if option[:subdir] then
- warn "ERROR: you can't specify multiple subdirs"
- abort opts.to_s
- end
+ return unless option[:subdir]
+
+ warn "ERROR: you can't specify multiple subdirs"
+ abort opts.to_s
end
def make_sub_modules klass