1From 0ccfefe624e25f937b27b2caf3671e80c2c29391 Mon Sep 17 00:00:00 2001
2From: Aws Ismail <aws.ismail@windriver.com>
3Date: Thu, 7 Jun 2012 16:00:13 -0400
4Subject: [PATCH] Fix symlink install error in cmdlang
5
6This patch fixes the error during the install stage when
7creating a symbolic link for opeipmish in openipmi/cmdlang
8
9Upstream-Status: Pending
10
11Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
12
13---
14 cmdlang/Makefile.am | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
18index 7235446..4a81ae3 100644
19--- a/cmdlang/Makefile.am
20+++ b/cmdlang/Makefile.am
21@@ -41,6 +41,7 @@ openipmish_CFLAGS = -Wall -Wsign-compare -I$(top_builddir)/include \
22 # compatability.
23 install-exec-hook:
24 	rm -f $(DESTDIR)$(bindir)/ipmish
25+	mkdir -p $(DESTDIR)$(bindir)/
26 	$(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish
27
28 uninstall-local:
29