aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2016-12-13 16:51:42 +0800
committerzelig <viktor.tron@gmail.com>2016-12-13 19:54:13 +0800
commit8e35f54931a0c5036d82f7b7db756d70290cf118 (patch)
treedd989c985e5e6672ebe5c16af9c0e567ca5af4c7
parentd44f1a77eeb208a929add38ca4234d9f2a865a26 (diff)
downloadgo-tangerine-8e35f54931a0c5036d82f7b7db756d70290cf118.tar.gz
go-tangerine-8e35f54931a0c5036d82f7b7db756d70290cf118.tar.zst
go-tangerine-8e35f54931a0c5036d82f7b7db756d70290cf118.zip
cmd/swarm: trim trailing slash from bzzapi url
-rw-r--r--cmd/swarm/upload.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/swarm/upload.go b/cmd/swarm/upload.go
index 0aceef20b..5393d4ef6 100644
--- a/cmd/swarm/upload.go
+++ b/cmd/swarm/upload.go
@@ -36,7 +36,7 @@ import (
func upload(ctx *cli.Context) {
args := ctx.Args()
var (
- bzzapi = ctx.GlobalString(SwarmApiFlag.Name)
+ bzzapi = strings.TrimRight(ctx.GlobalString(SwarmApiFlag.Name), "/")
recursive = ctx.GlobalBool(SwarmRecursiveUploadFlag.Name)
wantManifest = ctx.GlobalBoolT(SwarmWantManifestFlag.Name)
)
td> * o Update to 1.4.20.1;sobomax2008-06-1011-159/+7742 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * o Update to 1.4.19.2;sobomax2008-05-1617-352/+822 * - Chase shlib version of net-mgmt/net-snmp.kuriyama2008-03-271-1/+2 * Update net/asterisk and net/asterisk12 to 1.4.18.1 and 1.2.17 respectively.sobomax2008-03-192-4/+4 * Update to 1.4.18.sobomax2008-03-144-17/+19 * Port compiles on FreeBSD/powerpc just fine.sobomax2008-02-281-1/+1 * Fix ## (forceful disconnect) not working in some cases. This issuesobomax2008-02-074-0/+290 * Update the codec negotiaion patch to the latest version.sobomax2008-01-192-4/+4 * Update codec negotiation patch to 20080117 version. No PORTREVISION bumpsobomax2008-01-182-4/+4 * Upgrade to 1.4.17, this is mostly a security release that fixes bugsobomax2008-01-033-17/+4 * Update to 1.4.16.2.sobomax2007-12-267-112/+109 * Update to 1.4.13 and add missed audio/gsm dependency.sobomax2007-12-123-11/+11 * Migration from bison 1.x to 2.xade2007-10-171-2/+2 * Allow EXTRA_PATCHES to be altered in the Makefile.local.sobomax2007-10-091-2/+2 * - Update textproc/iksemel to version 1.3.trasz2007-10-041-2/+2 * Make sure to set astrundir to /var/run in the default asterisk.conf, so thatsobomax2007-09-183-21/+37 * Update to 1.4.11.sobomax2007-09-032-9/+9 * Allow building with bamby's codec negotiation patch. Don't bumpsobomax2007-08-142-6/+6 * Update to 1.4.10.sobomax2007-08-115-39/+258 * - Chase increase of audio/libvorbis shlib version.miwi2007-07-281-1/+2 * Update to 1.4.9.sobomax2007-07-274-10/+21 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-1/+0 * By default turn zaptel off, so that asterisk and related software can besobomax2007-07-221-1/+1 * o Update to 1.4.8, which fixes some security issues.sobomax2007-07-227-56/+106 * Correct newt library version number.sobomax2007-05-301-2/+2 * Add FreeTDS support. Bump PORTREVISION.sobomax2007-05-292-0/+12 * o Update to 1.4.4;sobomax2007-05-293-5/+6 * Update to 1.4.3.sobomax2007-04-262-6/+5 * Zaptel parts now compile after upgrading zaptel and libpri to 1.4.x.sobomax2007-04-262-3/+5 * Add Jabber and Gtalk support.sobomax2007-04-163-1/+22 * o Unbreak on non-i386;sobomax2007-04-131-3/+5 * Long awaited upgrade to 1.4.2.sobomax2007-04-1328-2619/+776 * Chase the shared library version of speex, bump the PORTREVISION.mezz2007-02-241-2/+2 * Fix breagake due to recent BIND9 changes to resolver.sobomax2007-01-301-0/+14 * 1. Fix a typo: dmsmgr.conf -> dnsmgr.conf.bsam2007-01-042-2/+9 * Update the ftp/curl port to 7.16.0.roam2006-12-131-2/+2 * Add another local patch that will be submitted to the vendor.sobomax2006-12-051-10/+22 * Update codec negotiation patch to the latest version.sobomax2006-12-052-4/+5 * Allow secure digest auth to be requested for outgoing call legs by AGI.sobomax2006-12-042-13/+23 * - Update to 1.2.13mnag2006-10-203-20/+21 * Update to 1.2.12.1.sobomax2006-10-045-80/+34 * Fix crash caused by the recent BIND upgrade from version 8 to version 9.sobomax2006-08-242-4/+7 * Fix build on 4.x. Untested due to the lack of 4.x system.sobomax2006-07-202-2/+6 * Fix patch to apply.sobomax2006-06-211-39/+0 * Merge in patch from Asterisk's ticket 7305. This patch should be part of thesobomax2006-06-201-0/+62 * Make asterisk_pidfile actually working.sobomax2006-06-202-1/+3 * Make patcheable.sobomax2006-06-172-28/+0 * Update to 1.2.9.1.sobomax2006-06-178-139/+161 * Allow pidfile location to be altered via asterisk_pidfile variable insobomax2006-05-261-1/+2 * Fix on sparc64.sobomax2006-05-232-1/+15 * Doesn't compile on sparc64. Patches are welcome.sobomax2006-05-231-1/+1 * Remove USE_REINPLACE from all categories starting with Nedwin2006-05-121-1/+0 * Remove dead MASTER_SITEs.sobomax2006-05-121-3/+1 * - Update to 1.2.7.1 [1]fjoe2006-04-2611-117/+64 * Mark the port as forbidden due to a security issue which could lead toremko2006-04-261-0/+2 * 1. PROVIDE -> PROVIDE:.sobomax2006-04-131-3/+2 * - Bring back bristuff support (bristuff-0.3.0-PRE-1l).fjoe2006-03-155-22/+54 * Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-1/+1 * Use corrected version of the codec negotiation patch.sobomax2006-02-152-4/+5 * Fix PLIST on 4.x (one of the modules can not be built due to absend va_copy()sobomax2006-02-072-1/+7 * Fix build on 4.x.sobomax2006-02-071-0/+13 * Update to 1.2.4.sobomax2006-02-062-8/+8 * Depend upon the repocopied pwlib152 and and openh323-112 ports, to ease thenetchild2006-02-051-4/+4 * Update to 1.2.3.sobomax2006-01-277-38/+49 * Fix build on amd64. No PORTREVISION bump since it doesn't change contentsobomax2006-01-271-0/+15 * When building with zaptel disabled make sure to set WITHOUT_ZAPTEL makesobomax2006-01-211-0/+1 * Update to 1.2.1.sobomax2006-01-1836-2802/+1008 * Use correct WRKSRC paths for pwlib and openh323 when WRKDIRPREFIXlawrance2005-12-171-2/+5 * Add support for amd64 (untested). No PORTREVISION bump since it doesn't affectsobomax2005-11-082-19/+26 * Update the MASTER_SITES.sobomax2005-09-071-1/+3 * Make app_rxfax/app_txfax compilable on 4.x.sobomax2005-08-293-9/+21 * - Add dependency on unixODBC (and WITHOUT_ODBC knob).fjoe2005-08-156-26/+77 * Fix build on RELENG_4 (fix res_watchdog, do not build fax support).fjoe2005-07-152-1/+15 * Update to 1.0.9 and bristuff-0.2.0-RC8h.fjoe2005-07-126-41/+35 * Add support for faxes based on spandsp port.sobomax2005-07-115-9/+693 * o Fix patch in default musiconhold.conf file;sobomax2005-06-191-3/+4 * Use [:lower:]/[:upper:] instead of [a-z]/[A-Z] in tr(1), since the lattersobomax2005-06-192-1/+15 * fix a bug when no audio devices are available, remove some deadluigi2005-05-181-111/+118 * - Add a bison %pure-parser declaration in pwlib. The build waslawrance2005-05-161-1/+1 * o chan_sip.c:sobomax2005-05-033-11/+120 * pbx_wilcalu.c:sobomax2005-05-035-1178/+1370 * o Add patches to improve OSS chanel driver.sobomax2005-04-232-3/+1172 * - USE_RC_SUBR automagically installs startup script and adds it to PLIST --fjoe2005-04-202-4/+1 * Handle rc.subr correctlyvs2005-04-142-4/+4 * Update to 1.0.7.fjoe2005-04-14