mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-21 05:01:06 +02:00
215a07c1a9
Merge conflicts: * unzip (almost trivial) * dvswitch (trivial) * gmp (copied result of `git merge`) The last item introduced gmp-5.0.3, thus full rebuild. +ensureDir->mkdir -p in TeX packages was catched by git but not svn. svn path=/nixpkgs/branches/stdenv-updates/; revision=32091
20 lines
374 B
Bash
20 lines
374 B
Bash
source $stdenv/setup
|
|
|
|
mkdir -p $out
|
|
|
|
dot2ps() {
|
|
sourceFile=$1
|
|
targetName=$out/$(basename $(stripHash $sourceFile; echo $strippedName) .dot).ps
|
|
echo "converting $sourceFile to $targetName..."
|
|
dot -Tps $sourceFile > $targetName
|
|
}
|
|
|
|
for i in $dotGraph; do
|
|
if test -d $i; then
|
|
for j in $i/*; do dot2ps $j; done
|
|
else
|
|
dot2ps $i
|
|
fi
|
|
done
|
|
|