Browse Source

[Build-Pkg] Fixed to pass -o when mounting tmpfs only if $SDECFG_SRC_TMPFS_OPT is set

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
d195e4ae62
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/Build-Pkg

+ 1
- 1
scripts/Build-Pkg

@ -496,7 +496,7 @@ echo_status "Preparing build in src.$pkg.$config.$id"
if [ $clear_src = 1 ] ; then
mkdir -p $builddir; chmod 0755 $builddir
if [ "$SDECFG_SRC_TMPFS" = 1 ]; then
mount -t tmpfs -n -o $SDECFG_SRC_TMPFS_OPT none $builddir
mount -t tmpfs -n ${SDECFG_SRC_TMPFS_OPT:+-o $SDECFG_SRC_TMPFS_OPT} none $builddir
fi
else
mkdir -p $builddir; chmod 0755 $builddir

Loading…
Cancel
Save