Fix import_srpm tmp_dir. Refs #31

This commit is contained in:
Pavel Chipiga 2012-01-24 23:25:16 +02:00
parent bdb31b4e13
commit c16cb352ca
1 changed files with 2 additions and 1 deletions

View File

@ -5,8 +5,9 @@
srpm_path=$1
git_path=$2
git_branch=$3
tmp_dir=/tmp/$RANDOM
name=$(rpm -q --qf '[%{Name}]' -p $srpm_path)
version=$(rpm -q --qf '[%{Version}]' -p $srpm_path)
tmp_dir=/tmp/$name-$version-$RANDOM
# Clone destination repo
mkdir -p $tmp_dir