summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 02:27:42 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 02:27:42 +0100
commit48254e13bde407b99999fd5cde3a496121c5a6f5 (patch)
tree9d3932155bc0469689c937db07c1844358ca99ac
parent676aa8f1dfb089ed18358502b588b79b8e1dc5a6 (diff)
downloadbuildscripts-48254e13bde407b99999fd5cde3a496121c5a6f5.tar.gz
buildscripts-48254e13bde407b99999fd5cde3a496121c5a6f5.tar.bz2
buildscripts-48254e13bde407b99999fd5cde3a496121c5a6f5.zip
fix SSH call for createrepo
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index e80a38e..8728222 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -252,7 +252,7 @@ upload_packages() {
cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
scp *.rpm $REPOS_SERVER:$RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$l_ARCH/rpms/ || true
- ssh $REPOS_SERVER cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$l_ARCH/ && createrepo .
+ ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$l_ARCH/ && createrepo ."
}
done