summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/stop-smb-windows.sh
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-28 11:17:46 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-29 09:53:45 +0200
commit0ab16cb82390ac751ff3532f11c4e1990dfd47c9 (patch)
tree61d6a9d65ef9a57797c8aa4b2c833f670df4aa25 /apps/files_external/tests/env/stop-smb-windows.sh
parentde8c15e1a46e33a20af1bad97a8cf27fced84539 (diff)
downloadnextcloud-server-0ab16cb82390ac751ff3532f11c4e1990dfd47c9.tar.gz
nextcloud-server-0ab16cb82390ac751ff3532f11c4e1990dfd47c9.zip
Replace `replace` with `sed` statement
Diffstat (limited to 'apps/files_external/tests/env/stop-smb-windows.sh')
-rwxr-xr-xapps/files_external/tests/env/stop-smb-windows.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/stop-smb-windows.sh b/apps/files_external/tests/env/stop-smb-windows.sh
index 8e9c82b9569..4f89451ce11 100755
--- a/apps/files_external/tests/env/stop-smb-windows.sh
+++ b/apps/files_external/tests/env/stop-smb-windows.sh
@@ -7,7 +7,7 @@
#
# retrieve current folder to remove the config from the parent folder
-thisFolder=`echo $0 | replace "env/stop-smb-windows.sh" ""`
+thisFolder=`echo $0 | sed 's#env/stop-smb-windows\.sh##'`
if [ -z "$thisFolder" ]; then
thisFolder="."