summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-02-26 07:44:50 +0100
committerEugen Wissner <belka@caraus.de>2021-02-26 07:44:50 +0100
commitb8a3bd2989e206d150d37c6d1e08b49af806d498 (patch)
treee6060994d3241935c0a791ff657f4e1c71a66a19
parentc3e4ef2cdfb67c2bd4a915887ebc943dbcd19d1f (diff)
downloadslackbuilder-b8a3bd2989e206d150d37c6d1e08b49af806d498.tar.gz
Remove trailing space in the path
-rw-r--r--Rakefile4
-rw-r--r--lib/download.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 01adb4a..4ff446c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -11,8 +11,8 @@ require_relative 'lib/package'
require_relative 'lib/download'
task :dmd do
- version = '2.095.0'
- dub_version = '1.24.0'
+ version = '2.095.1'
+ dub_version = '1.24.1'
dscanner_version = '0.11.0'
dcd_version = '0.13.1'
tarball_name = "dmd.#{version}.linux.tar.xz"
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