Patchwork opkg: remove unnecessary extra leading slash in run-postinsts

login
register
mail settings
Submitter Jonathan Liu
Date May 16, 2013, 2:37 a.m.
Message ID <1368671853-19610-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/49967/
State Accepted
Commit 5c43ee2f2a11252beb412310fa98e37e16a68406
Headers show

Comments

Jonathan Liu - May 16, 2013, 2:37 a.m.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta/recipes-devtools/opkg/opkg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index c34ac5b..631aafc 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -69,7 +69,7 @@  if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then
 	# this happens at S98 where our good 'ole packages script used to run
 	echo "#!/bin/sh
 opkg-cl configure ${REDIRECT_CMD}
-rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
+rm -f ${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
 " > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
 	chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
 fi