aboutsummaryrefslogtreecommitdiff
path: root/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild')
-rw-r--r--ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild b/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
index d2201611e119..35ac3f856e86 100644
--- a/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
+++ b/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
@@ -20,6 +20,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=rubygem-fastercsv
VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}