From 3eda2272c19da62375aaf3bae69d5fc371a7c221 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 26 Jan 2017 21:07:19 -0800 Subject: [PATCH] various fixes --- emacs | 2 +- tor-browser | 2 +- update-builds | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2