gnupg-1compat: cosmetic changes for Emacs

This commit is contained in:
Peter Simons 2016-03-11 10:54:18 +01:00
parent b01d868951
commit 9f578af689

View File

@ -6,12 +6,12 @@ stdenv.mkDerivation {
builder = writeScript "gnupg1compat-builder" ''
# First symlink all top-level dirs
${coreutils}/bin/mkdir -p $out
${coreutils}/bin/ln -s ${gnupg}/* $out
${coreutils}/bin/ln -s "${gnupg}/"* $out
# Replace bin with directory and symlink it contents
${coreutils}/bin/rm $out/bin
${coreutils}/bin/mkdir -p $out/bin
${coreutils}/bin/ln -s ${gnupg}/bin/* $out/bin
${coreutils}/bin/ln -s "${gnupg}/bin/"* $out/bin
# Add gpg->gpg2 and gpgv->gpgv2 symlinks
${coreutils}/bin/ln -s gpg2 $out/bin/gpg