From: Ian Kelling Date: Fri, 27 Jan 2017 05:07:19 +0000 (-0800) Subject: various fixes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=3eda2272c19da62375aaf3bae69d5fc371a7c221;p=buildscripts various fixes --- diff --git a/emacs b/emacs index 62cfc31..abab865 100755 --- a/emacs +++ b/emacs @@ -125,7 +125,7 @@ logq emacs --batch -l ~/.emacs.d/init.el -l ~/.emacs.d/compile-init-dir.el # as of 01-2017, built-in org mode has a bug that # org-edit-src-exit does not get bound, so using latest -~/bin/buildscripts/org-mode +/a/bin/buildscripts/org-mode if $update; then logq pi bzr diff --git a/tor-browser b/tor-browser index 2c46a67..1fcbcb8 100755 --- a/tor-browser +++ b/tor-browser @@ -21,7 +21,7 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR # https://dist.torproject.org/torbrowser/ ver=$(curl -s https://dist.torproject.org/torbrowser/ \ - | sed -rn 's/.*href="([0-9]+\.[0-9]+\.[0-9]+).*/\1/p' \ + | sed -rn 's/.*href="([0-9]+\.[0-9]+).*/\1/p' \ | sort -Vr | head -n 1) diff --git a/update-builds b/update-builds index b2c71d4..091ee60 100755 --- a/update-builds +++ b/update-builds @@ -1,7 +1,7 @@ #!/bin/bash -cd "${BASH_SOURCE%/*}" # directory of the script +x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*} for x in *; do if [[ $x == update-builds || ! -x $x || -d $x ]]; then continue