mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Fix space-containing name processing
svn path=/nixos/trunk/; revision=27313
This commit is contained in:
parent
25bb8b3d55
commit
be85cdacfd
@ -123,10 +123,10 @@ let
|
|||||||
fontDirs=\"\$fontDirs \$(dirname \$i)\";
|
fontDirs=\"\$fontDirs \$(dirname \$i)\";
|
||||||
done;
|
done;
|
||||||
mkdir -p \$out/share/X11-fonts/;
|
mkdir -p \$out/share/X11-fonts/;
|
||||||
for i in \$(find \$fontDirs -type f -o -type l); do
|
find \$fontDirs -type f -o -type l | while read i; do
|
||||||
j=\${i##*/}
|
j=\"\${i##*/}\"
|
||||||
if ! test -e \$out/share/X11-fonts/\${j}; then
|
if ! test -e \"\$out/share/X11-fonts/\${j}\"; then
|
||||||
ln -s \$i \$out/share/X11-fonts/\${j};
|
ln -s \"\$i\" \"\$out/share/X11-fonts/\${j}\";
|
||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
cd \$out/share/X11-fonts/
|
cd \$out/share/X11-fonts/
|
||||||
|
Loading…
Reference in New Issue
Block a user