Browse code

hopedfully fix broken FreeBSD output

Nat! authored on 04/01/2016 01:26:54
Showing 1 changed files
... ...
@@ -393,6 +393,7 @@ bootstrap_auto_update()
393 393
    log_info "Recursively acquiring ${dir} .bootstrap settings ..."
394 394
 
395 395
    local old
396
+   local name
396 397
 
397 398
    old="${IFS:-" "}"
398 399
 
... ...
@@ -419,7 +420,8 @@ bootstrap_auto_update()
419 419
             then
420 420
                exekutor cp "${BOOTSTRAP_SUBDIR}/${i}" "${BOOTSTRAP_SUBDIR}.tmp/${i}" || exit 1
421 421
             else
422
-               log_fluff "Setting \"`basename -- ${i}`\" is not specified, so not inherited"
422
+               name="`basename -- "${i}"`"
423
+               log_fluff "Setting \"${name}\" is not specified, so not inherited"
423 424
             fi
424 425
          fi
425 426
       done
... ...
@@ -446,9 +448,10 @@ bootstrap_auto_update()
446 446
       IFS="{old}"
447 447
       srcfile="${dir}/.bootstrap/${i}"
448 448
       dstfile="${BOOTSTRAP_SUBDIR}.auto/${i}"
449
+      name="`basename -- "${i}"`"
449 450
       if [ -f "${srcfile}" ]
450 451
       then
451
-         log_fluff "Inheriting \"`basename -- ${i}`\" from \"${srcfile}\""
452
+         log_fluff "Inheriting \"${name}\" from \"${srcfile}\""
452 453
 
453 454
          mkdir_if_missing "${BOOTSTRAP_SUBDIR}.auto/`dirname -- "${i}"`"
454 455
          if [ -f "${BOOTSTRAP_SUBDIR}.auto/${i}" ]
... ...
@@ -464,7 +467,7 @@ bootstrap_auto_update()
464 464
             exekutor cp "${srcfile}" "${dstfile}" || exit 1
465 465
          fi
466 466
       else
467
-         log_fluff "Setting \"`basename -- ${i}`\" is not specified, so not inherited"
467
+         log_fluff "Setting \"${name}\" is not specified, so not inherited"
468 468
       fi
469 469
    done
470 470
    IFS="{old}"