Verified Commit e5b9ab35 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

mkpkg: Wrap the script passed over ssh in another level of quotes

Needed because we still have the login (command) shell to deal with.
parent a176a696
......@@ -154,7 +154,7 @@ repoadd() {
if [[ -n $repohost ]]; then
ssh -q $repohost mkdir -p $repodir/$1
scp -q $files $repohost:$repodir/$1/
ssh -q $repohost zsh -c ":
ssh -q $repohost zsh -c ${(q):-":
setopt extendedglob nomatch
......@@ -162,7 +162,7 @@ repoadd() {
$(declare -f repoadd_remote)
repoadd_remote ${1:q}
mkdir -p $repodir/$1
cp $files $repodir/$1/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment