Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Svn call script (3)

Shulou Source: shulou.com Published: 2022-06-01 07:14:21 10月03日 Update

#! / bin/bash#example:#usrname='svnuser'#passwd='svnpassword'#svn_link= "http://url/svn_dir"#svn_dir="target_dir"usrname=$1passwd=$2svn_link=$3svn_dir=$4svn_flag=".svn"cmd=$(rpm-qa | grep" expect ") if [$?-ne 0]; then yum-y install expectficd ${svn_dir} if [- d ${svn_flag}] & & [" x$ {svn_link} "! =" x "] then/usr/bin/expect

Tags: Script Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS MariaDB Huawei Linux