Revert "stdenv: introduce baseHash() to replace stripHash()"
Introduced by mistake
This reverts commit e71a5cb878.
This commit is contained in:
@@ -531,7 +531,8 @@ rec {
|
||||
|
||||
# Hacky: RPM looks for <basename>.spec inside the tarball, so
|
||||
# strip off the hash.
|
||||
srcName=$(baseHash "$src")
|
||||
stripHash "$src"
|
||||
srcName="$strippedName"
|
||||
cp "$src" "$srcName" # `ln' doesn't work always work: RPM requires that the file is owned by root
|
||||
|
||||
export HOME=/tmp/home
|
||||
|
||||
Reference in New Issue
Block a user