@@ -23,8 +23,7 @@ usr_binaries=/usr/local/bin
24#### BUILD ASSETS ####
24#### BUILD ASSETS ####
26−(cd ../.. ; cabal sandbox init ; cabal install)
27−cp ../../.cabal-sandbox/bin/elm $pkg_binaries/elm
26+cp ../../dist/build/elm/elm $pkg_binaries/elm
29cp $(pwd)/preinstall $pkg_scripts
28cp $(pwd)/preinstall $pkg_scripts
30cp $(pwd)/postinstall $pkg_scripts
29cp $(pwd)/postinstall $pkg_scripts
@@ -40,13 +39,13 @@ pkgbuild \
41#### BUNDLE ASSETS ####
40#### BUNDLE ASSETS ####
43−rm -f Elm-Platform.pkg
42+rm -f Elm.pkg
45productbuild \
44productbuild \
46 --distribution Distribution.xml \
45 --distribution Distribution.xml \
47 --package-path . \
46 --package-path . \
48 --resources Resources \
47 --resources Resources \
49− Elm-Platform.pkg
48+ Elm.pkg
52#### CLEAN UP ####
51#### CLEAN UP ####