summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/start-smb-silvershell.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/env/start-smb-silvershell.sh')
-rwxr-xr-xapps/files_external/tests/env/start-smb-silvershell.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/start-smb-silvershell.sh b/apps/files_external/tests/env/start-smb-silvershell.sh
index f72ad3f9e23..afada44d4f7 100755
--- a/apps/files_external/tests/env/start-smb-silvershell.sh
+++ b/apps/files_external/tests/env/start-smb-silvershell.sh
@@ -23,7 +23,7 @@ echo "Fetch recent silvershell/samba docker image"
docker pull silvershell/samba
# retrieve current folder to place the config in the parent folder
-thisFolder=`echo $0 | replace "env/start-smb-silvershell.sh" ""`
+thisFolder=`echo $0 | sed 's#env/start-smb-silvershell\.sh##'`
if [ -z "$thisFolder" ]; then
thisFolder="."