diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-28 11:17:46 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-29 09:53:45 +0200 |
commit | 0ab16cb82390ac751ff3532f11c4e1990dfd47c9 (patch) | |
tree | 61d6a9d65ef9a57797c8aa4b2c833f670df4aa25 /apps/files_external/tests/env/stop-smb-windows.sh | |
parent | de8c15e1a46e33a20af1bad97a8cf27fced84539 (diff) | |
download | nextcloud-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-x | apps/files_external/tests/env/stop-smb-windows.sh | 2 |
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="." |