Commit 3e52f3d8 authored by Ed Reel's avatar Ed Reel Committed by Kazushi (Jam) Marukawa

Add CREW_DEST_PREFIX and CREW_DEST_LIB_PREFIX constants to crew command

parent ea3a504a
...@@ -19,6 +19,8 @@ CREW_LIB_PATH = CREW_PREFIX + '/lib/crew/' ...@@ -19,6 +19,8 @@ CREW_LIB_PATH = CREW_PREFIX + '/lib/crew/'
CREW_CONFIG_PATH = CREW_PREFIX + '/etc/crew/' CREW_CONFIG_PATH = CREW_PREFIX + '/etc/crew/'
CREW_BREW_DIR = CREW_PREFIX + '/tmp/crew/' CREW_BREW_DIR = CREW_PREFIX + '/tmp/crew/'
CREW_DEST_DIR = CREW_BREW_DIR + 'dest' CREW_DEST_DIR = CREW_BREW_DIR + 'dest'
CREW_DEST_PREFIX = CREW_DEST_DIR + CREW_PREFIX
CREW_DEST_LIB_PREFIX = CREW_DEST_DIR + CREW_LIB_PREFIX
# Set CREW_NPROC from environment variable or `nproc` # Set CREW_NPROC from environment variable or `nproc`
if ENV["CREW_NPROC"].to_s == '' if ENV["CREW_NPROC"].to_s == ''
...@@ -781,7 +783,7 @@ when "remove" ...@@ -781,7 +783,7 @@ when "remove"
help "remove" help "remove"
end end
when nil when nil
puts "Chromebrew, version 0.4.3" puts "Chromebrew, version 0.4.4"
puts "Usage: crew [command] [package]" puts "Usage: crew [command] [package]"
help nil help nil
else else
......
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