Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
c0e08d63d3
1 changed files with 9 additions and 8 deletions
  1. +9
    -8
      scripts/Build-Pkg

+ 9
- 8
scripts/Build-Pkg

@ -897,15 +897,16 @@ exec 202>&1
#!/bin/bash
# export PROMPT_COMMAND='. debug.buildenv; cd .; unset PROMPT_COMMAND'
cd "$root"
if [ ! -e $PWD/ROCK/loop/scripts ]; then
mount --bind $realbase $PWD/ROCK/loop
mount --bind $realconf $PWD/ROCK/config
mount --bind $realdown $PWD/ROCK/download
fi
if [ ! -e $PWD/ROCK/src.$xpkg.$id ]; then
ln -s loop/src.$xpkg.$id $PWD/ROCK/src.$xpkg.$id
if [ -e $PWD/ROCK ]; then
if [ ! -e $PWD/ROCK/loop/scripts ]; then
mount --bind $realbase $PWD/ROCK/loop
mount --bind $realconf $PWD/ROCK/config
mount --bind $realdown $PWD/ROCK/download
fi
if [ ! -e $PWD/ROCK/src.$xpkg.$id ]; then
ln -s loop/src.$xpkg.$id $PWD/ROCK/src.$xpkg.$id
fi
fi
cd "$builddir" ; exec env -i bash --init-file debug.buildenv 200>> build.pid
EOT
#

Loading…
Cancel
Save