melpaBuild: keep original source file names without hash

This commit is contained in:
Thomas Tuegel 2016-01-16 16:47:22 -06:00
parent b81c8b9013
commit 1724a07e2e

View File

@ -32,8 +32,11 @@ stdenv.mkDerivation ({
unpackCmd = '' unpackCmd = ''
case "$curSrc" in case "$curSrc" in
*.el) *.el)
cp $curSrc $pname.el # keep original source filename without the hash
chmod +w $pname.el local filename=$(basename "$curSrc")
filename="''${filename:33}"
cp $curSrc $filename
chmod +w $filename
sourceRoot="." sourceRoot="."
;; ;;
*) *)