Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zstackbuild/projects/zstack-pysdk.xml 中的 fileset 定义了绝对路径 #370

Open
tolbkni opened this issue Mar 7, 2018 · 0 comments

Comments

@tolbkni
Copy link

tolbkni commented Mar 7, 2018

fileset 的根目录定义为 /root/,不知道是出于什么目的?
一般情况下不会用root用户去构建,该目录无法读取

<?xml version="1.0" encoding="UTF-8"?>

<project name="zstack pysdk builder" basedir="../">
    <target name="assemble-zstack-pysdk">
        <copy todir="${tools.dir}">
            <fileset dir="/root/">
                <include name="zssdk.py" />
            </fileset>
        </copy>
    </target>
</project>

应改为 <fileset dir="${user.home}">

tolbkni added a commit to tolbkni/zstack-utility that referenced this issue Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant