Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2024 20:40:56 GMT
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4a23b974d487 - main - devel/msp430-debug-stack: fix udev config script
Message-ID:  <202412112040.4BBKeuRZ075760@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by joerg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a23b974d4871f8abf0b86df0b96a9549866fab9

commit 4a23b974d4871f8abf0b86df0b96a9549866fab9
Author:     Joerg Wunsch <joerg@FreeBSD.org>
AuthorDate: 2024-12-03 20:41:14 +0000
Commit:     Joerg Wunsch <joerg@FreeBSD.org>
CommitDate: 2024-12-11 20:40:50 +0000

    devel/msp430-debug-stack: fix udev config script
    
    The udev config script wants to assign and use shell variables.  In
    order for devd to correctly distinguish between internal and shell
    variables, shell variables must always use braces ${...}.
---
 devel/msp430-debug-stack/Makefile          | 2 +-
 devel/msp430-debug-stack/files/mspfet.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/msp430-debug-stack/Makefile b/devel/msp430-debug-stack/Makefile
index 903dedf872ff..91defd08f44b 100644
--- a/devel/msp430-debug-stack/Makefile
+++ b/devel/msp430-debug-stack/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	msp430-debug-stack
 PORTVERSION=	3.15.1.1
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	devel
 MASTER_SITES=	https://dr-download.ti.com/software-development/driver-or-library/MD-4vnqcP1Wk4/${PORTVERSION}/ \
 		LOCAL/lev:doc1 \
diff --git a/devel/msp430-debug-stack/files/mspfet.conf b/devel/msp430-debug-stack/files/mspfet.conf
index f078a8592d41..3143c6d293cb 100644
--- a/devel/msp430-debug-stack/files/mspfet.conf
+++ b/devel/msp430-debug-stack/files/mspfet.conf
@@ -8,7 +8,7 @@ attach 20 {
 	match "interface"	"0";			# JTAG-Interface
 	action "cd /dev; p=$product; dn=$device-name;			\
 		un=$(sysctl -n dev.umodem.${dn#umodem}.ttyname);	\
-		chmod 666 cua$un; ln -sf cua$un mspfet${p#0x}";
+		chmod 666 cua${un}; ln -sf cua${un} mspfet${p#0x}";
 };
 
 notify 20 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412112040.4BBKeuRZ075760>