summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2014-06-20 17:40:38 +0000
committerdteske <dteske@FreeBSD.org>2014-06-20 17:40:38 +0000
commit8a699602621ae37aa47f2aabc8368d54dcdf0150 (patch)
treed3931ddb70f2645efcb615528f87f9f0c3f60ba9 /usr.sbin/bsdconfig
parent67c7333f6441bd61161019503af39cc3d61539b9 (diff)
downloadFreeBSD-src-8a699602621ae37aa47f2aabc8368d54dcdf0150.zip
FreeBSD-src-8a699602621ae37aa47f2aabc8368d54dcdf0150.tar.gz
Fix a code typo that prevented mkdir from firing (unnoticed
usually because another part of the code succeeded in making the same directory). MFC after: 3 days
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