code/superant.com.rwdshell/playscript.rb in rwddemo-0.90 vs code/superant.com.rwdshell/playscript.rb in rwddemo-0.91
- old
+ new
@@ -2,10 +2,11 @@
nametext = "%s" % [@a_scriptcmd]
begin # exception trapped block
- fileName = "scripts/" + nametext + ".sh"
+
+ fileName = $shellscript_directory + "/" + nametext + ".sh"
fd = File.open(fileName,"r")
commandtext = fd.read