about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dtas-tl2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/dtas-tl b/bin/dtas-tl
index 31a6825..1cd2acc 100755
--- a/bin/dtas-tl
+++ b/bin/dtas-tl
@@ -16,6 +16,7 @@ when "cat"
 when "add-all"
   ARGV.shift
   ARGV.reverse.each do |path|
+    path = File.expand_path(path.b)
     res = c.req(%W(tl add #{path}))
     puts "#{path} #{res}"
   end
@@ -25,6 +26,7 @@ when "add-tail"
   track_ids = track_ids.split(/ /)
   last_id = track_ids.pop
   ARGV.each do |path|
+    path = File.expand_path(path.b)
     req = %W(tl add #{path})
     req << last_id.to_s if last_id
     res = c.req(req)