1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/editors/emacs-modes/update-melpa
adisbladis 8911226971
emacs-packages: Allow update script to be called from any location
Previously working directory was important
2019-08-07 18:04:19 +01:00

7 lines
220 B
Plaintext
Executable file

#! /usr/bin/env nix-shell
#! nix-shell --show-trace ./updater-emacs.nix -i bash
SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
exec emacs --fg-daemon=updater --quick -l $SCRIPT_DIR/update-melpa.el -f run-updater "$@"