Commit c92f2df8 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

Merge branch 'bashisms' into 'master'

abuild, abuild-keygen: drop echo -n as well

See merge request !4
parents 2e0c21a8 5b739caa
...@@ -33,7 +33,7 @@ get_privkey_file() { ...@@ -33,7 +33,7 @@ get_privkey_file() {
privkey="$ABUILD_USERDIR/$default_name.rsa" privkey="$ABUILD_USERDIR/$default_name.rsa"
[ -n "$non_interactive" ] && return 0 [ -n "$non_interactive" ] && return 0
msg "Generating public/private rsa key pair for abuild" 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 read line
if [ -n "$line" ]; then if [ -n "$line" ]; then
......
...@@ -1944,10 +1944,10 @@ parse_aports_makedepends() { ...@@ -1944,10 +1944,10 @@ parse_aports_makedepends() {
echo "d ${j%%:*}" echo "d ${j%%:*}"
continue continue
fi fi
echo -n "d ${j%%:*} $1" printf '%s' "d ${j%%:*} $1"
shift shift
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
echo -n ",$1" printf '%s' ",$1"
shift shift
done done
echo echo
......
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