summaryrefslogtreecommitdiffstats
path: root/system/epson-inkjet-printer-escpr2
diff options
context:
space:
mode:
author Heinz Wiesinger2021-07-04 11:41:06 +0200
committer Willy Sudiarto Raharjo2021-07-05 11:01:32 +0200
commit7f26b9929fe95171f3719de3f601b696a2def263 (patch)
treec695221c62ff155a5a657883822af40538d24f23 /system/epson-inkjet-printer-escpr2
parente6362e61d4cb76998694df32c864f5ceb3d95d54 (diff)
downloadslackbuilds-7f26b9929fe95171f3719de3f601b696a2def263.tar.gz
All: SlackBuilds run in the directory they are in
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/epson-inkjet-printer-escpr2')
-rw-r--r--system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild
index 9603865a53..02fe1c99c7 100644
--- a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild
+++ b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild
@@ -29,6 +29,8 @@
#file. run sh ./fixrm to spread the model list evenly over as many lines as needed
#also request upload of source to slackbuildsdirectlinks.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=epson-inkjet-printer-escpr2
VERSION=${VERSION:-1.1.29}
EXTRABIT=1lsb3.2
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
#lets get the source tarball from the rpm and clean up the bits we don't need
rpm2tgz $PRGNAM-$VERSION-$EXTRABIT.src.rpm
tar -xzf $PRGNAM-$VERSION-$EXTRABIT.src.tgz