Fix import_srpm tmp_dir. Refs #31
This commit is contained in:
parent
bdb31b4e13
commit
c16cb352ca
|
@ -5,8 +5,9 @@
|
||||||
srpm_path=$1
|
srpm_path=$1
|
||||||
git_path=$2
|
git_path=$2
|
||||||
git_branch=$3
|
git_branch=$3
|
||||||
tmp_dir=/tmp/$RANDOM
|
name=$(rpm -q --qf '[%{Name}]' -p $srpm_path)
|
||||||
version=$(rpm -q --qf '[%{Version}]' -p $srpm_path)
|
version=$(rpm -q --qf '[%{Version}]' -p $srpm_path)
|
||||||
|
tmp_dir=/tmp/$name-$version-$RANDOM
|
||||||
|
|
||||||
# Clone destination repo
|
# Clone destination repo
|
||||||
mkdir -p $tmp_dir
|
mkdir -p $tmp_dir
|
||||||
|
|
Loading…
Reference in New Issue