Patch from Christian Motschke <motschke@itso-berlin.de>:

I had some problems compiling scst due to some bashisms in the Makefiles. As
you will know, Debian uses /bin/dash as default shell and /bin/sh is only a
link to /bin/dash. I can either change the default shell, (or in my opinion
the better solution) use SHELL=/bin/bash in the Makefile.
I have made a patch for the Makefiles in question (I hope, that are all
Makefiles).



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1496 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-02-10 19:32:31 +00:00
parent d880bdab9d
commit b611a22ed0
7 changed files with 13 additions and 0 deletions

View File

@@ -16,6 +16,8 @@
#
#
SHELL = /bin/bash
# Decide to use which kernel src. If not specified, is current running kernel.
#export KDIR=/usr/src/linux-2.6

View File

@@ -5,6 +5,8 @@
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (not a .c file).
SHELL=/bin/bash
SUBDIRS := $(shell pwd)
#SCST_INC_DIR := /usr/local/include/scst

View File

@@ -28,6 +28,8 @@
# - install and uninstall must be made as root
#
SHELL=/bin/bash
#SCST_INC_DIR := /usr/local/include/scst
#SCST_DIR := $(SCST_INC_DIR)
SCST_INC_DIR := $(SUBDIRS)/../../scst/include

View File

@@ -17,6 +17,7 @@
#
#
SHELL=/bin/bash
# Decide to use which kernel src. If not specified, is current running kernel.
#export KDIR=/usr/src/linux-2.6

View File

@@ -27,6 +27,8 @@
# - install and uninstall must be made as root
#
SHELL=/bin/bash
DEV_HANDLERS_DIR = dev_handlers
ifneq ($(PATCHLEVEL),)

View File

@@ -27,6 +27,8 @@
# - install and uninstall must be made as root
#
SHELL=/bin/bash
ifneq ($(PATCHLEVEL),)
SCST_INC_DIR := $(SUBDIRS)/../include

View File

@@ -14,6 +14,8 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
SHELL=/bin/bash
SRCS_F = fileio.c common.c debug.c
OBJS_F = $(SRCS_F:.c=.o)