Commit cf558eaf authored by Ed Reel's avatar Ed Reel Committed by Kazushi (Jam) Marukawa

Replace argument handler as suggested by @jam7

parent 98fc45d5
......@@ -21,7 +21,7 @@ class Dropbox < Package
system "wget https://linux.dropbox.com/packages/dropbox.py"
system "sed -i 's,~/.dropbox-dist,#{CREW_LIB_PREFIX}/dropbox,g' dropbox.py"
system "echo '#!/bin/bash' > dropbox"
system "echo 'python #{CREW_PREFIX}/bin/dropbox.py \$1 \$2 \$3 \$4 \$5 \$6 \$7 \$8 \$9' >> dropbox"
system "echo 'python #{CREW_PREFIX}/bin/dropbox.py \"\$@\"' >> dropbox"
system "chmod +x dropbox"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment