diff options
Diffstat (limited to 'tests/scripts/misc/general1')
-rw-r--r-- | tests/scripts/misc/general1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/scripts/misc/general1 b/tests/scripts/misc/general1 index 352fc6ad..098956ba 100644 --- a/tests/scripts/misc/general1 +++ b/tests/scripts/misc/general1 @@ -8,7 +8,7 @@ It also tests the simple definition of VPATH."; open(MAKEFILE,"> $makefile"); print MAKEFILE <<EOF; -VPATH = $workdir +VPATH = work edit: main.o kbd.o commands.o display.o \\ insert.o \t\@echo cc -o edit main.o kbd.o commands.o display.o \\ @@ -28,11 +28,12 @@ EOF close(MAKEFILE); -@files_to_touch = ("$workdir${pathsep}main.c","$workdir${pathsep}defs.h", - "$workdir${pathsep}kbd.c","$workdir${pathsep}command.h", - "$workdir${pathsep}commands.c","$workdir${pathsep}display.c", - "$workdir${pathsep}buffer.h","$workdir${pathsep}insert.c", - "$workdir${pathsep}command.c"); +mkdir('work'); +@files_to_touch = ("work${pathsep}main.c","work${pathsep}defs.h", + "work${pathsep}kbd.c","work${pathsep}command.h", + "work${pathsep}commands.c","work${pathsep}display.c", + "work${pathsep}buffer.h","work${pathsep}insert.c", + "work${pathsep}command.c"); &touch(@files_to_touch); |