Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 20 years ago
parent
commit
2dd87c6d15
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      target/reference/build.sh

+ 3
- 4
target/reference/build.sh

@ -59,10 +59,9 @@ echo_header "Reference build finished."
cat <<- EOT > build/${ROCKCFG_ID}/ROCK/result/copy-cache.sh
#!/bin/sh
cd $base/build/${ROCKCFG_ID}/ROCK/result
find package -type f | while read fn
do [ -f ../../../\${fn%.cache}.desc ] && cp -v \$fn ../../../\$fn; done
cd ../../..; ./scripts/Create-DepDB > scripts/dep_db.txt
find package -type f -name '*.cache' | while read fn
do [ -f \$1/\${fn%.cache}.desc ] && cp -v \$fn \$1/\$fn; done
cd \$1; ./scripts/Create-DepDB > scripts/dep_db.txt
EOT
chmod +x build/${ROCKCFG_ID}/ROCK/result/copy-cache.sh

Loading…
Cancel
Save