summary refs log tree commit diff
path: root/nix/scripts/authenticate.in
blob: 5ce57915f0281ee1e782412375aa7867e06b1e1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!@SHELL@
# A shorthand for "guix authenticate", for use by the daemon.

if test "x$GUIX_UNINSTALLED" = "x"
then
    prefix="@prefix@"
    exec_prefix="@exec_prefix@"
    exec "@bindir@/guix" authenticate "$@"
else
    exec guix authenticate "$@"
fi