#!/usr/pkg/bin/wsbasic

#change the dir so that is the same as in the makefile!
INSTALL_DIR =".."
  
NEWPATH     ="#!"+INSTALL_DIR+"/wsbasic"

foreach file in run( "ls -1" )
begin

  if file != "changepath.b" 
  begin
    script= run( "cat "+file+" | grep -v /wsbasic " )
    script= NEWPATH+"\n"+script
    write( file, script )
  end
    
end

