Commit 0e0567a8 authored by Chaoting Liu's avatar Chaoting Liu 😖

correct typo on variables

parent 7d5c8290
...@@ -148,7 +148,7 @@ upload_files() { ...@@ -148,7 +148,7 @@ upload_files() {
sign_online_database() { sign_online_database() {
# remove current signature file and remotely execute gpg --detach-sign command to sign the databases # remove current signature file and remotely execute gpg --detach-sign command to sign the databases
# enable verbose to indicate the procedure # enable verbose to indicate the procedure
local _remote_socket=$(ssh ${ssh_user}@${rsync_server} -p ${ssh_port} gpgconf --list-dir agent-socket) local _remote_socket=$(ssh ${_ssh_user}@${_rsync_server} -p ${_ssh_port} gpgconf --list-dir agent-socket)
status_start 'remotely signing the database \n' status_start 'remotely signing the database \n'
for ext in gz xz; do for ext in gz xz; do
ssh -R${_remote_socket}:$(gpgconf --list-dir agent-socket) $_ssh_user@$_rsync_server -p $_ssh_port \ ssh -R${_remote_socket}:$(gpgconf --list-dir agent-socket) $_ssh_user@$_rsync_server -p $_ssh_port \
...@@ -160,7 +160,7 @@ sign_online_database() { ...@@ -160,7 +160,7 @@ sign_online_database() {
sign_online_pkg() { sign_online_pkg() {
# remotely execute gpg --detach-sign command to sign the package # remotely execute gpg --detach-sign command to sign the package
local _remote_socket=$(ssh ${ssh_user}@${rsync_server} -p ${ssh_port} gpgconf --list-dir agent-socket) local _remote_socket=$(ssh ${_ssh_user}@${_rsync_server} -p ${_ssh_port} gpgconf --list-dir agent-socket)
status_start "remotely signing the pkg $2 \n" status_start "remotely signing the pkg $2 \n"
ssh $_ssh_user@$_rsync_server -R${_remote_socket}:$(gpgconf --list-dir agent-socket) -p $_ssh_port \ ssh $_ssh_user@$_rsync_server -R${_remote_socket}:$(gpgconf --list-dir agent-socket) -p $_ssh_port \
gpg -v --batch --detach-sign "packages/$1/$(get_arch)/$2" gpg -v --batch --detach-sign "packages/$1/$(get_arch)/$2"
......
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