easy-rsa: don't include directory when wrapping

This commit is contained in:
Domen Kožar 2014-03-19 12:23:02 +01:00
parent 4216e42ca8
commit 2a50098657

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
# Make sane defaults and patch default config vars # Make sane defaults and patch default config vars
postInstall = '' postInstall = ''
for prog in $(find "$out/share/easy-rsa" -executable); do for prog in $(find "$out/share/easy-rsa" -executable -type f); do
makeWrapper "$prog" "$out/bin/$(basename $prog)" \ makeWrapper "$prog" "$out/bin/$(basename $prog)" \
--set EASY_RSA "$out/share/easy-rsa" \ --set EASY_RSA "$out/share/easy-rsa" \
--set OPENSSL "${openssl}/bin/openssl" \ --set OPENSSL "${openssl}/bin/openssl" \