summaryrefslogtreecommitdiffabout
path: root/upload/gnupload
Unidiff
Diffstat (limited to 'upload/gnupload') (more/less context) (ignore whitespace changes)
-rwxr-xr-xupload/gnupload3
1 files changed, 2 insertions, 1 deletions
diff --git a/upload/gnupload b/upload/gnupload
index 3ec9761..8863771 100755
--- a/upload/gnupload
+++ b/upload/gnupload
@@ -344,12 +344,13 @@ upload() {
344 done | $dbg sftp -b - download.gnu.org.ua:/incoming/${destdir%%/*} 344 done | $dbg sftp -b - download.gnu.org.ua:/incoming/${destdir%%/*}
345 ;; 345 ;;
346 *@download.gnu.org.ua:alpha/*|*@download.gnu.org.ua:ftp/*|*@download.gnu.org.ua:test/*) 346 *@download.gnu.org.ua:alpha/*|*@download.gnu.org.ua:ftp/*|*@download.gnu.org.ua:test/*)
347 user=${dest%%@*}
347 mkdirective "${destdir#*/}" "$base" "$file" "$stmt" 348 mkdirective "${destdir#*/}" "$base" "$file" "$stmt"
348 echo "$passphrase" | $GPG --passphrase-fd 0 --clearsign $base.directive 349 echo "$passphrase" | $GPG --passphrase-fd 0 --clearsign $base.directive
349 for f in $files $base.directive.asc 350 for f in $files $base.directive.asc
350 do 351 do
351 echo put $f 352 echo put $f
352 done | $dbg sftp -b - download.gnu.org.ua:/incoming/${destdir%%/*} 353 done | $dbg sftp -b - ${user}@download.gnu.org.ua:/incoming/${destdir%%/*}
353 ;; 354 ;;
354 /*) 355 /*)
355 mkdirective "$destdir" "$base" "$file" "$stmt" 356 mkdirective "$destdir" "$base" "$file" "$stmt"

Return to:

Send suggestions and report system problems to the System administrator.