system/system76-io-dkms: Change delimiter in sed (sbolint).

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-04 15:04:51 -05:00 committed by Willy Sudiarto Raharjo
parent 27d286f6f9
commit 4d623aa452
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
VER=#MODULE_VERSION# VER=@MODULE_VERSION@
dkms install system76-io/$VER dkms install system76-io/$VER
# Before removing the system76-io package, the following command should # Before removing the system76-io package, the following command should

View file

@ -67,7 +67,7 @@ cp -a \
$PKG/usr/src/$MODNAM-$VERSION $PKG/usr/src/$MODNAM-$VERSION
# Edit and install dkms configuration # 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
@ -77,7 +77,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc 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 cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}