Fix typo in installsome()

This commit is contained in:
Michael Martin
2021-11-01 20:07:13 -07:00
parent 4f5cbef324
commit 102099e8f0
+2 -2
View File
@@ -227,11 +227,11 @@ mkdirhier() {
# $3 - Mode of destination file/directory # $3 - Mode of destination file/directory
# $4 - Owner of destination file/directory # $4 - Owner of destination file/directory
installsome() { installsome() {
local SRC DEST MODE OWNDER DESTDIR SRCNAME local SRC DEST MODE OWNER DESTDIR SRCNAME
SRC="$1" SRC="$1"
DEST="$2" DEST="$2"
MODE="$3" MODE="$3"
OWNDER="$4" OWNER="$4"
DESTDIR="${DEST%/*}" DESTDIR="${DEST%/*}"
if [ ! -d "$DESTDIR" ]; then if [ ! -d "$DESTDIR" ]; then