aboutsummaryrefslogtreecommitdiff
path: root/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild')
-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 9603865a5357..02fe1c99c74a 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