aboutsummaryrefslogtreecommitdiff
path: root/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild')
-rw-r--r--system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild b/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
index 9c89a9950115..80445df0931b 100644
--- a/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
+++ b/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=samsung-mfp-drivers
VERSION=${VERSION:-1.00.06}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}