mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Make TeXLive-linkdir skip not try to wrap directories in libexec
svn path=/nixpkgs/trunk/; revision=23429
This commit is contained in:
parent
9fa88c5291
commit
9570117dc4
@ -30,7 +30,9 @@ rec {
|
||||
|
||||
ensureDir $out/bin
|
||||
for i in $out/libexec/*/*; do
|
||||
echo -ne "#! /bin/sh\\n$i \"\$@\"" >$out/bin/$(basename $i)
|
||||
test -f "$i" && \
|
||||
test -x "$i" && \
|
||||
echo -ne "#! /bin/sh\\n$i \"\$@\"" >$out/bin/$(basename $i) && \
|
||||
chmod a+x $out/bin/$(basename $i)
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user