change nethack chdir path to relative

parent fc2d0b02
......@@ -14,7 +14,7 @@ class Nethack4 < Package
def self.build
target=CREW_BREW_DIR+"nethack4-4.3-beta2/build"
target="build"
system "mkdir -p " + target
Dir.chdir target do
#build with rpath pointing at /usr/local
......@@ -24,7 +24,7 @@ class Nethack4 < Package
end
def self.install
target=CREW_BREW_DIR+"nethack4-4.3-beta2/build"
target="build"
Dir.chdir target do
#install in destdir so package manager can keep track
system "/usr/local/bin/perl ../aimake --install-only -i #{CREW_DEST_DIR}/usr/local/ --directory-layout=prefix --without=gui"
......
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