Commits

Anonymous committed 9e986bf

BSD fixes to the build-and-install script

  • Participants
  • Parent commits 0619157

Comments (0)

Files changed (1)

File build-and-install

       core|core/extended) optflags="$linuxflag $timerflag" ;;
       async/scheduler)    optflags="$linuxflag" ;;
       async) # horrible hack (avoids rebuilding async_{core,scheduler,extra})
-          dest=$(mktemp -d)
+          dest=$(mktemp -d -t ocaml-core-async.XXXXXX)
           mkdir -p "$dest/base/async"
-          cp -t "$dest/"     -a ../../build-common.sh
-          cp -t "$dest/base/async" -a lib oasis.sh
+          cp -rp ../../build-common.sh "$dest/"
+          cp -rp lib oasis.sh "$dest/base/async/"
           cd $dest/base/async
           trap "rm -r '$dest'" EXIT
           ;;