summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/stop-smb-silvershell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/env/stop-smb-silvershell.sh')
-rwxr-xr-xapps/files_external/tests/env/stop-smb-silvershell.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/stop-smb-silvershell.sh b/apps/files_external/tests/env/stop-smb-silvershell.sh
index 6ae28d15506..aae954284e9 100755
--- a/apps/files_external/tests/env/stop-smb-silvershell.sh
+++ b/apps/files_external/tests/env/stop-smb-silvershell.sh
@@ -17,7 +17,7 @@ fi
echo "Docker executable found - stop and remove docker containers"
# retrieve current folder to remove the config from the parent folder
-thisFolder=`echo $0 | replace "env/stop-smb-silvershell.sh" ""`
+thisFolder=`echo $0 | sed 's#env/stop-smb-silvershell\.sh##'`
if [ -z "$thisFolder" ]; then
thisFolder="."