mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 02:22:52 +01:00
cannot use hardlink when we are using symlink
This commit is contained in:
parent
5a1fb90360
commit
3acc84282f
2
wscript
2
wscript
@ -596,7 +596,7 @@ def rpm(context):
|
|||||||
|
|
||||||
if _exists(sourcedir): shutil.rmtree(sourcedir)
|
if _exists(sourcedir): shutil.rmtree(sourcedir)
|
||||||
for a in ["RPMS/noarch","SRPMS","BUILD","SPECS","SOURCES"]: mkdir_p(_join(outputdir,a))
|
for a in ["RPMS/noarch","SRPMS","BUILD","SPECS","SOURCES"]: mkdir_p(_join(outputdir,a))
|
||||||
os.link(tarball,_join(sourcedir,tarball))
|
shutil.copy(tarball,_join(sourcedir,tarball))
|
||||||
|
|
||||||
specfile = "%s.spec"%APPNAME
|
specfile = "%s.spec"%APPNAME
|
||||||
checkdeps = lambda: c(["rpmbuild","--define","_topdir %s"%outputdir,"--nobuild",specfile])
|
checkdeps = lambda: c(["rpmbuild","--define","_topdir %s"%outputdir,"--nobuild",specfile])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user