diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-04 15:04:51 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:47 +0700 |
commit | 4d623aa4529fd0c5fcd7ef36845d04d43c101fc6 (patch) | |
tree | 7dc245122f39a1047f8444c21f324861fc493902 | |
parent | 27d286f6f9c7ae4fff35aae8de7056b9712fe369 (diff) | |
download | slackbuilds-4d623aa4529fd0c5fcd7ef36845d04d43c101fc6.tar.gz |
system/system76-io-dkms: Change delimiter in sed (sbolint).
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | system/system76-io-dkms/doinst.sh | 2 | ||||
-rw-r--r-- | system/system76-io-dkms/system76-io-dkms.SlackBuild | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/system/system76-io-dkms/doinst.sh b/system/system76-io-dkms/doinst.sh index 9e5bcd5ed0..6b33ed6c28 100644 --- a/system/system76-io-dkms/doinst.sh +++ b/system/system76-io-dkms/doinst.sh @@ -1,4 +1,4 @@ -VER=#MODULE_VERSION# +VER=@MODULE_VERSION@ dkms install system76-io/$VER # Before removing the system76-io package, the following command should diff --git a/system/system76-io-dkms/system76-io-dkms.SlackBuild b/system/system76-io-dkms/system76-io-dkms.SlackBuild index 40ad2dc99d..3b9dead3d7 100644 --- a/system/system76-io-dkms/system76-io-dkms.SlackBuild +++ b/system/system76-io-dkms/system76-io-dkms.SlackBuild @@ -67,7 +67,7 @@ cp -a \ $PKG/usr/src/$MODNAM-$VERSION # Edit and install dkms configuration -sed "s/#MODULE_VERSION#/${VERSION}/" "debian/system76-io-dkms.dkms" > "$PKG/usr/src/$MODNAM-$VERSION/dkms.conf" +sed "s/@MODULE_VERSION@/${VERSION}/" "debian/system76-io-dkms.dkms" > "$PKG/usr/src/$MODNAM-$VERSION/dkms.conf" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ @@ -77,7 +77,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -sed "s/#MODULE_VERSION#/${VERSION}/" "$CWD/doinst.sh" > "$PKG/install/doinst.sh" +sed "s/@MODULE_VERSION@/${VERSION}/" "$CWD/doinst.sh" > "$PKG/install/doinst.sh" cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |