Fix error in tar command options
[releng/builder.git] / jjb / opflex / scripts / libuv-build.sh
index e9b369d1e2e4353068e1b11d5ad77b30f9bb77dd..dfa16f9805fc7639a9fe3ba18195e24bd84145fa 100644 (file)
@@ -19,7 +19,7 @@ ROOT=/tmp/opflex-prefix
 mkdir install-root
 DESTDIR=$(pwd)/install-root make clean install
 pushd install-root
-tar -cvzf -- "libuv-$LIBUV_VERSION.tar.gz" *
+tar cvzf "libuv-$LIBUV_VERSION.tar.gz" -- *
 # Move tarball to dir of files that will be uploaded to Nexus
 UPLOAD_FILES_PATH="$WORKSPACE/upload_files"
 mkdir -p "$UPLOAD_FILES_PATH"