Commit 80f85043 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #289 from minektur/master

calculate SHORTARCH from ARCH - fix for missing getconf
parents 65edede7 d39767d2
......@@ -16,7 +16,17 @@ CREW_BREW_DIR = CREW_PREFIX + '/tmp/crew/'
CREW_DEST_DIR = CREW_BREW_DIR + '/dest'
ARCH = `uname -m`.strip
#SHORTARCH = `getconf LONG_BIT`.strip # commenting for now since it doesn't work.
#SHORTARCH = `getconf LONG_BIT`.strip # will refactor this line in the future
case ARCH
when "i686"
SHORTARCH="32"
when "x86_64"
SHORTARCH="64"
when "arm7l"
SHORTARCH="32"
else
SHORTARCH="32"
end
$LOAD_PATH.unshift "#{CREW_LIB_PATH}lib"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment