[meta] Copy verb even when using --no-package

This commit is contained in:
Philip Rebohle 2018-08-18 07:47:42 +02:00
parent f6c50b0896
commit 4c8bf44738
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 5 additions and 1 deletions

View File

@ -44,8 +44,11 @@ function build_arch {
rm -R "$DXVK_BUILD_DIR/install.$1"
}
function package {
function build_verb {
cp "$DXVK_SRC_DIR/utils/setup_dxvk.verb" "$DXVK_BUILD_DIR/setup_dxvk.verb"
}
function package {
cd "$DXVK_BUILD_DIR/.."
tar -czf "$DXVK_ARCHIVE_PATH" "dxvk-$DXVK_VERSION"
rm -R "dxvk-$DXVK_VERSION"
@ -53,6 +56,7 @@ function package {
build_arch 64
build_arch 32
build_verb
if [ "$3" != "--no-package" ]; then
package