aboutsummaryrefslogtreecommitdiff
path: root/graphics/Shellpic/Shellpic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/Shellpic/Shellpic.SlackBuild')
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/Shellpic/Shellpic.SlackBuild b/graphics/Shellpic/Shellpic.SlackBuild
index bdb788907f31..bb96f318c4e7 100644
--- a/graphics/Shellpic/Shellpic.SlackBuild
+++ b/graphics/Shellpic/Shellpic.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=Shellpic
SRCNAM=$(echo ${PRGNAM,})
VERSION=${VERSION:-1.6.2}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}