summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/download.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/download.rb b/lib/download.rb
index 8634721..2f002d2 100644
--- a/lib/download.rb
+++ b/lib/download.rb
@@ -71,7 +71,7 @@ def remote_file_exists?(url)
end
def upload_command(local_path, remote_path)
- ['scp', "slackbuilds/#{local_path} ", CONFIG[:remote_path] + remote_path]
+ ['scp', "slackbuilds/#{local_path}", CONFIG[:remote_path] + remote_path]
end
def clone_and_archive(repo, name_version, tarball)
@@ -140,6 +140,6 @@ def commit(package_path, version)
sh "git -C slackbuilds checkout -b #{MY_BRANCH} master"
end
sh "git -C slackbuilds add #{package_path}"
- sh %(git -C slackbuilds commit -m "#{message}")
+ sh %(git -C slackbuilds commit -S -m "#{message}")
# sh "git -C slackbuilds push origin #{branch}"
end