git-svn-id: https://svn.code.sf.net/p/freetel/code@866 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 28 Oct 2012 22:45:52 +0000 (22:45 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 28 Oct 2012 22:45:52 +0000 (22:45 +0000)
mini-asterisk-gui2/cgi-bin/setword.cgi

index cb7e4ef012ae070ebb2f5a0ca14ee8922c5b7035..8fa2ad12c8391cb54eb6d354ba9ea8335a134bcb 100755 (executable)
@@ -28,7 +28,7 @@ echo $file
 echo $this
 echo $that
 if [ -f $file ]; then
-  sed -i "s/$this.*/$that.*/g" $file
+  sed -i "s/$this/$that/g" $file
 else
   echo "$file does not exist"
 fi