Remove trailing space in the path

This commit is contained in:
Eugen Wissner 2021-02-26 07:44:50 +01:00
parent c3e4ef2cdf
commit b8a3bd2989
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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