melpa/buildpkg
Georgi Valkov f4d2a1bf4d Fix portability problem with #!/usr/bin/env (issue #203)
Passing the 'script' option to emacs doesn't work as expected
on Linux, since the shebang is evaluated as:
  #!/usr/bin/env "emacs --script"
2012-07-17 13:10:18 +03:00

8 lines
185 B
Text
Executable file

#!/bin/sh
:;exec emacs --script "$0" "$@"
(add-to-list 'load-path (file-name-directory load-file-name))
(require 'package-build)
(mapc 'package-build-archive (mapcar 'intern argv))