From 060a1c12ebcda532b99cfabcb2892f32dd20f57a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 15 Jan 2002 12:00:30 +0000 Subject: [PATCH] Fix problems with old bash --- configure | 2 +- scripts/dep.linux | 2 +- scripts/linux_flags/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 3ff105ad..81f82b74 100755 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #!/bin/sh -topdir=${PWD} +topdir=$(pwd) interactive=y menu=n diff --git a/scripts/dep.linux b/scripts/dep.linux index db6e16d8..f10b70fa 100755 --- a/scripts/dep.linux +++ b/scripts/dep.linux @@ -77,7 +77,7 @@ then EOF fi -topdir=${PWD} +topdir=$(pwd) cd ${topdir}/scripts/linux_flags make LINUXDIR=${LINUXDIR} &>/dev/null diff --git a/scripts/linux_flags/Makefile b/scripts/linux_flags/Makefile index be6d6284..98c65ff4 100644 --- a/scripts/linux_flags/Makefile +++ b/scripts/linux_flags/Makefile @@ -2,7 +2,7 @@ #LINUXDIR=/home/ds/linux/linux-2.4.16-rthal5 all: - $(MAKE) -C $(LINUXDIR) SUBDIRS=$(PWD) modules + $(MAKE) -C $(LINUXDIR) SUBDIRS=$(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) modules modules: echo LINUXDIR=$(LINUXDIR) >flags -- 2.26.2