melpaBuild: keep original source file names without hash

This commit is contained in:
Thomas Tuegel
2016-01-18 15:29:19 -06:00
parent b81c8b9013
commit 1724a07e2e
+5 -2
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="."
;; ;;
*) *)