Fix error in tar command options
[releng/builder.git] / jjb / opflex / scripts / openvswitch-build.sh
index b48ff5943409ae76220b4b3b28807d3d6341d2fd..78d722f1dd28165d041746fa07915c259536f13a 100644 (file)
@@ -36,7 +36,7 @@ elif [[ $OPENVSWITCH_VERSION =~ noiro ]]; then
 fi
 
 pushd $DESTDIR
-tar -cvzf -- "openvswitch-$OPENVSWITCH_VERSION.tar.gz" *
+tar cvzf "openvswitch-$OPENVSWITCH_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"