diff options
Diffstat (limited to 'common/libs/func_install_blfs')
-rw-r--r-- | common/libs/func_install_blfs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/libs/func_install_blfs b/common/libs/func_install_blfs index e86d9e20b5..4b728af3f3 100644 --- a/common/libs/func_install_blfs +++ b/common/libs/func_install_blfs @@ -7,7 +7,10 @@ install_blfs_tools() { # the scriptlets to build #----------------------------# the dependency tools set -e # Install the files -[[ ! -d ${BUILDDIR}${BLFS_ROOT} ]] && mkdir -pv ${BUILDDIR}${BLFS_ROOT} +[[ ! -d ${BUILDDIR}${BLFS_ROOT} ]] && { + sudo mkdir -pv ${BUILDDIR}${BLFS_ROOT} + sudo chown $USER:$USER ${BUILDDIR}${BLFS_ROOT} +} cp -r BLFS/* ${BUILDDIR}${BLFS_ROOT} cp -r menu ${BUILDDIR}${BLFS_ROOT} cp $COMMON_DIR/progress_bar.sh ${BUILDDIR}${BLFS_ROOT} |