kiss-fork: minor fixes

This commit is contained in:
Dylan Araps 2020-11-19 09:53:51 +02:00
parent 1ae8340e49
commit b7f92fb5a7
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 3 deletions

View File

@ -9,13 +9,13 @@ dir=$(kiss search "$pkg" 2>/dev/null) || {
exit 1
}
# Globbing is disabled and word splitting is intentional.
# Globbing is disabled and word splitting is intentional.
# shellcheck disable=2086
set -- $dir
[ "$num" -ge "$#" ] && {
printf 'index exceeds maximum\n'
exit 1
exit 1
}
shift "$num"
@ -26,5 +26,5 @@ shift "$num"
}
printf 'found package in %s\n' "$1"
cp -rf "$1" .
cp -Lrf "$1" .
printf 'forked package to %s\n' "$PWD/$pkg"