diff options
author | Max Rees <maxcrees@me.com> | 2019-07-22 02:38:41 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-08-02 15:35:11 -0500 |
commit | 5b739caadd8315f575537a1ad8fe4b03d6943d17 (patch) | |
tree | 316127441491adb85b420b7fc9a02ca131683193 | |
parent | 4184c42b2597193366da7a8ada8d3b7344be6f61 (diff) | |
download | abuild-5b739caadd8315f575537a1ad8fe4b03d6943d17.tar.gz abuild-5b739caadd8315f575537a1ad8fe4b03d6943d17.tar.bz2 abuild-5b739caadd8315f575537a1ad8fe4b03d6943d17.tar.xz abuild-5b739caadd8315f575537a1ad8fe4b03d6943d17.zip |
abuild, abuild-keygen: drop echo -n as well
-rw-r--r-- | abuild-keygen.in | 2 | ||||
-rw-r--r-- | abuild.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/abuild-keygen.in b/abuild-keygen.in index de37299..afdb1ab 100644 --- a/abuild-keygen.in +++ b/abuild-keygen.in @@ -33,7 +33,7 @@ get_privkey_file() { privkey="$ABUILD_USERDIR/$default_name.rsa" [ -n "$non_interactive" ] && return 0 msg "Generating public/private rsa key pair for abuild" - echo -n "Enter file in which to save the key [$privkey]: " + printf '%s' "Enter file in which to save the key [$privkey]: " read line if [ -n "$line" ]; then @@ -1944,10 +1944,10 @@ parse_aports_makedepends() { echo "d ${j%%:*}" continue fi - echo -n "d ${j%%:*} $1" + printf '%s' "d ${j%%:*} $1" shift while [ $# -gt 0 ]; do - echo -n ",$1" + printf '%s' ",$1" shift done echo |