1 /* OS/2 rexx script to emulate the "cd dir; command" mechanism in make
2 * which does not work with stupid CMD.EXE
4 * $XFree86: xc/config/util/indir.cmd,v 3.1 1996/01/24 21:56:12 dawes Exp $
7 line = fixbadprefix(arg(1))
8 new = directory(word(line,1))
10 old = directory(curdir)
13 /* somehow make or cmd manages to convert a relative path ..\..\. to ..... */
17 DO WHILE SUBSTR(str,count,2) = '..'
19 str = INSERT('\',str,count)