summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2014-07-02 19:25:25 +0000
committerdteske <dteske@FreeBSD.org>2014-07-02 19:25:25 +0000
commit4f317bd085c00f3ccec93cddff2014ece1b5da4d (patch)
tree93357e7c3ada96edc314149a3bfde6f446836404 /usr.sbin/bsdconfig
parenteca942517b0f7ca74b31bad5ebc3c7d26f34804a (diff)
downloadFreeBSD-src-4f317bd085c00f3ccec93cddff2014ece1b5da4d.zip
FreeBSD-src-4f317bd085c00f3ccec93cddff2014ece1b5da4d.tar.gz
MFC r267680:
Fix a code typo that prevented mkdir from firing (unnoticed usually because another part of the code succeeded in making the same directory).
Diffstat (limited to 'usr.sbin/bsdconfig')
-rwxr-xr-xusr.sbin/bsdconfig/share/packages/index.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/packages/index.subr b/usr.sbin/bsdconfig/share/packages/index.subr
index 9586501..130f9cd 100755
--- a/usr.sbin/bsdconfig/share/packages/index.subr
+++ b/usr.sbin/bsdconfig/share/packages/index.subr
@@ -258,7 +258,7 @@ f_index_initialize()
# Finally, move the temporary file into place
case "$PACKAGES_INDEX_CACHEFILE" in
- */*) f_eval_catch -d $funcname mkdir \
+ */*) f_eval_catch -d $__funcname mkdir \
'mkdir -p "%s"' "${PACKAGES_INDEX_CACHEFILE%/*}"
esac
f_eval_catch -d $__funcname mv 'mv -f "%s" "%s"' \
OpenPOWER on IntegriCloud