summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2010-03-18 08:58:44 +0000
committerBart De Schuymer <bdschuym@pandora.be>2010-03-18 08:58:44 +0000
commit4eba2d4a792e94503537ed7d71dc7babb9d77a59 (patch)
treed9311a9db110813ee30d3a4caba1e25e2cabd068 /Makefile
parent16cb38ae3df4eea6f842ea8a2a108a984487e4e7 (diff)
downloadebtables-4eba2d4a792e94503537ed7d71dc7babb9d77a59.tar.gz
ebtables-4eba2d4a792e94503537ed7d71dc7babb9d77a59.tar.bz2
ebtables-4eba2d4a792e94503537ed7d71dc7babb9d77a59.zip
fix syntax error with DESTDIR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5103425..a4cc7be 100644
--- a/Makefile
+++ b/Makefile
@@ -156,10 +156,10 @@ scripts: ebtables-save ebtables.sysv ebtables-config
mkdir -p $(DESTDIR)$(BINDIR)
install -m 0755 -o root -g root ebtables-save_ $(DESTDIR)$(BINDIR)/ebtables-save
cat ebtables.sysv | sed 's/__EXEC_PATH__/$(tmp1)/g' | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables.sysv_
- if [ $(DESTDIR) != "" ]; then mkdir -p $(DESTDIR)$(INITDIR); fi
+ if [ "$(DESTDIR)" != "" ]; then mkdir -p $(DESTDIR)$(INITDIR); fi
if test -d $(DESTDIR)$(INITDIR); then install -m 0755 -o root -g root ebtables.sysv_ $(DESTDIR)$(INITDIR)/ebtables; fi
cat ebtables-config | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables-config_
- if [ $(DESTDIR) != "" ]; then mkdir -p $(DESTDIR)$(SYSCONFIGDIR); fi
+ if [ "$(DESTDIR)" != "" ]; then mkdir -p $(DESTDIR)$(SYSCONFIGDIR); fi
if test -d $(DESTDIR)$(SYSCONFIGDIR); then install -m 0600 -o root -g root ebtables-config_ $(DESTDIR)$(SYSCONFIGDIR)/ebtables-config; fi
rm -f ebtables-save_ ebtables.sysv_ ebtables-config_