Browse Source

vbuilder.sh.in: fixed some typo

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@344 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 15 years ago
parent
commit
0a87c748b2
1 changed files with 5 additions and 2 deletions
  1. 5 2
      vbuilder.sh.in

+ 5 - 2
vbuilder.sh.in

@@ -153,7 +153,7 @@ Clean(){
 	umount ${BUILD_ROOT}/proc
 
     if [ -d ${BUILD_ROOT}/var/cache/apt/archives ]; then
-	echo -n "Chaching RPMs in ${CACHE_DIR}/apt/archives ... "
+	echo -n "Caching RPMs in ${CACHE_DIR}/apt/archives ... "
 	[ -d ${CACHE_DIR}/apt/archives ] || mkdir -p ${CACHE_DIR}/apt/archives
 	mv -f ${BUILD_ROOT}/var/cache/apt/archives/*.rpm ${CACHE_DIR}/apt/archives/
 	echo "done."
@@ -174,8 +174,11 @@ Build(){
     [ -d ${BUILD_ROOT}/proc ] || mkdir -p ${BUILD_ROOT}/proc
     mount -t proc proc ${BUILD_ROOT}/proc
 
+    # ## mount /tmp with --bind option
+    # mount --bind /tmp ${BUILD_ROOT}/tmp
+
     if [ -d ${CACHE_DIR} ]; then
-	echo -n "Copying chached RPMs to ${BUILD_ROOT}/var/cache/apt/archives ... "
+	echo -n "Copying cached RPMs to ${BUILD_ROOT}/var/cache/apt/archives ... "
 	cp -f ${CACHE_DIR}/apt/archives/*.rpm ${BUILD_ROOT}/var/cache/apt/archives/
 	echo "done."
     fi