Skip to content

Commit

Permalink
Fixed the command line arguments for ssh to launch psync on the remot…
Browse files Browse the repository at this point in the history
…e host.
  • Loading branch information
kobayasy committed Mar 18, 2023
1 parent 127db35 commit 9790ef9
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ So for this to work, you must be able to login to the sync-host with [OpenSSH].
This work is required for each sync-host include local-host.
1. Do the following to build and install.
```
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.29/psync-2.29.tar.gz
tar xzf psync-2.29.tar.gz
cd psync-2.29
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.30/psync-2.30.tar.gz
tar xzf psync-2.30.tar.gz
cd psync-2.30
./configure --prefix=$HOME
make install
Expand Down
6 changes: 3 additions & 3 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
ローカルホストを含めた全ての同期ホストに対してこの作業が必要です。
1. 以下の手順でビルドとインストールを行ないます。
```
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.29/psync-2.29.tar.gz
tar xzf psync-2.29.tar.gz
cd psync-2.29
curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.30/psync-2.30.tar.gz
tar xzf psync-2.30.tar.gz
cd psync-2.30
./configure --prefix=$HOME
make install
Expand Down
Binary file modified psync.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions src/configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for pSync 2.29.
# Generated by GNU Autoconf 2.69 for pSync 2.30.
#
# Report bugs to <kobayasy@kobayasy.com>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='pSync'
PACKAGE_TARNAME='psync'
PACKAGE_VERSION='2.29'
PACKAGE_STRING='pSync 2.29'
PACKAGE_VERSION='2.30'
PACKAGE_STRING='pSync 2.30'
PACKAGE_BUGREPORT='kobayasy@kobayasy.com'
PACKAGE_URL='http://kobayasy.com/psync/'

Expand Down Expand Up @@ -1245,7 +1245,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures pSync 2.29 to adapt to many kinds of systems.
\`configure' configures pSync 2.30 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1310,7 +1310,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of pSync 2.29:";;
short | recursive ) echo "Configuration of pSync 2.30:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1404,7 +1404,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
pSync configure 2.29
pSync configure 2.30
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1773,7 +1773,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by pSync $as_me 2.29, which was
It was created by pSync $as_me 2.30, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -4818,7 +4818,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by pSync $as_me 2.29, which was
This file was extended by pSync $as_me 2.30, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4881,7 +4881,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
pSync config.status 2.29
pSync config.status 2.30
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
4 changes: 2 additions & 2 deletions src/configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# configure.ac - Last modified: 11-Mar-2023 (kobayasy)
# configure.ac - Last modified: 18-Mar-2023 (kobayasy)
#
# Copyright (c) 2018-2023 by Yuichi Kobayashi <kobayasy@kobayasy.com>
#
Expand All @@ -23,7 +23,7 @@
# SOFTWARE.

AC_PREREQ(2.69)
AC_INIT([pSync], [2.29], [kobayasy@kobayasy.com], [psync], [http://kobayasy.com/psync/])
AC_INIT([pSync], [2.30], [kobayasy@kobayasy.com], [psync], [http://kobayasy.com/psync/])
AC_CONFIG_SRCDIR([psync.c])
AC_CONFIG_AUX_DIR([conf])

Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* main.c - Last modified: 03-Mar-2023 (kobayasy)
/* main.c - Last modified: 18-Mar-2023 (kobayasy)
*
* Copyright (c) 2018-2023 by Yuichi Kobayashi <kobayasy@kobayasy.com>
*
Expand Down Expand Up @@ -307,9 +307,9 @@ static int run(PSYNC_MODE mode, PSP *psp, bool verbose, char *hostname) {
snprintf(opts, sizeof(opts), SSHOPTS, (unsigned int)port);
argc = 0;
argv[argc++] = SSH;
argv[argc++] = hostname;
for (s = strtok(opts, ARGVTOK); s != NULL; s = strtok(NULL, ARGVTOK))
argv[argc++] = s;
argv[argc++] = hostname;
argv[argc++] = PACKAGE_TARNAME" --remote";
argv[argc] = NULL;
status = popen3(argv, run_local, &param);
Expand Down

0 comments on commit 9790ef9

Please sign in to comment.