-#!/bin/bash -l
+#!/bin/bash
# Copyright (C) 2016 Ian Kelling
# Licensed under the Apache License, Version 2.0 (the "License");
# See the License for the specific language governing permissions and
# limitations under the License.
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
+if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
#set -x
# arg = git commit to check out
logq sudo make install
# make emacs always work for root
- s /a/exe/lnf /usr/local/bin/emacs /usr/bin
+ sudo /a/exe/lnf /usr/local/bin/emacs /usr/bin
echo $head >~/.local/emacs-build-git-revision
fi
head=$(git rev-parse HEAD)
if $recompile || [[ $rev != "$head" ]]; then
- if [[ $(distro-name) == trisquel ]]; then
+ if [[ $(debian-codename) == flidas ]]; then
# use the flidas branch, stuck behind because
# needs newer crypt libraries that are too troublesome.
cd /a/opt/muflidas