mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +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)\";
|
||||
done;
|
||||
mkdir -p \$out/share/X11-fonts/;
|
||||
for i in \$(find \$fontDirs -type f -o -type l); do
|
||||
j=\${i##*/}
|
||||
if ! test -e \$out/share/X11-fonts/\${j}; then
|
||||
ln -s \$i \$out/share/X11-fonts/\${j};
|
||||
find \$fontDirs -type f -o -type l | while read i; do
|
||||
j=\"\${i##*/}\"
|
||||
if ! test -e \"\$out/share/X11-fonts/\${j}\"; then
|
||||
ln -s \"\$i\" \"\$out/share/X11-fonts/\${j}\";
|
||||
fi;
|
||||
done;
|
||||
cd \$out/share/X11-fonts/
|
||||
|
Loading…
Reference in New Issue
Block a user