FG
💻 Software

What causes double slashes in Linux?

Fresh7 days ago
Mar 15, 202611178 views
Confidence Score0%
0%

Problem

I'm installing TCE and see double slashes ( ) in the installation path. Why they are there?

Error Output

100% - /usr/local/games/enemy-territory//tcetest/ReadMe.rtf
 100% - /usr/local/games/enemy-territory//tcetest/changelog.rtf
 100% - /usr/local/games/…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What causes double slashes in Linux?

Low Risk

It's simply the result of concatenating paths as ordinary text strings. For example, if you specify the destination directory including the ending slash... ...and the installer uses it like this: When the line above gets expanded, simply will be rep…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment