From 002d29bc605d7c2d02e4cf20a43c5277c15f5597 Mon Sep 17 00:00:00 2001 From: Tick Chen Date: Mon, 3 Nov 2008 03:59:59 +0000 Subject: [PATCH] [opkg-utils] fix install fail problem Thanks for khorben's patch :-) https://docs.openmoko.org/trac/attachment/ticket/2072/patch-opkg-utils_Makefile_install_path.diff --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7d2ceb3..e92dbb3 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ UTILS = opkg-build opkg-unbuild opkg-compare-versions opkg-make-index opkg.py \ DESTDIR= PREFIX=/usr/local -bindir=${prefix}/bin +bindir=$(PREFIX)/bin all: opkg-compare-versions @@ -13,7 +13,7 @@ opkg-compare-versions: opkg-compare-versions.c install: opkg-compare-versions install -d $(DESTDIR)$(bindir) - install -m 744 $(UTILS) $(DESTDIR)$(bindir) + install -m 755 $(UTILS) $(DESTDIR)$(bindir) clean: rm -rf opkg-compare-versions