aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
blob: 9a568b2b2242d52ec8ee3019f826e82d2091919c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Aws Ismail <aws.ismail@windriver.com>
Date:   Thu Jun 7 16:00:13 2012 -0400

    This patch fixes the error during the install stage when
    creating a symbolic link for opeipmish in openipmi/cmdlang
    
    Upstream-Status: Pending
    
    Signed-off-by: Aws Ismail <aws.ismail@windriver.com>

diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
index 92d6e83..f6039f9 100644
--- a/cmdlang/Makefile.am
+++ b/cmdlang/Makefile.am
@@ -36,6 +36,7 @@ CLEANFILES = libOpenIPMIcmdlang.map
 # compatability.
 install-data-local:
 	rm -f $(DESTDIR)$(bindir)/ipmish
+	mkdir -p $(DESTDIR)$(bindir)/
 	$(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish
 
 uninstall-local: