diff --git a/Makefile b/Makefile index edd3c34..8546d22 100644 --- a/Makefile +++ b/Makefile @@ -29,11 +29,11 @@ dist/bin: mkdir -pv $@ dist/bin/%.bash: %.bash - ln -sf ../lib/bash-util/$*.bash $@ + ln -s ../lib/bash-util/$*.bash $@ dist/bin/%: scripts/% dist/bin sed 's/^\(.\s\+\)\("\)*.\+\/util\//\1\2$(shell \ - echo -n $(PREFIX) | sed 's/\([$\/]\)/\\\1/g')\/lib\/bash-util\//' < $< > $@ + sed 's/\([$\/]\)/\\\1/g' <<<$(PREFIX))\/lib\/bash-util\//' < $< > $@ chmod 755 $@ dist/lib/bash-util: @@ -44,12 +44,12 @@ dist/lib/bash-util/%.bash: %.bash chmod 644 $@ $(PREFIX)/bin/util: - ln -sf $(PREFIX)/lib/bash-util $(PREFIX)/bin/util + ln -s $(PREFIX)/lib/bash-util $(PREFIX)/bin/util install: dist cd dist && \ for each in *; \ - do cp -rv "$$each"/* "$(PREFIX)/$$each/"; \ + do cp -rv "$$each" "$(PREFIX)/$$each"; \ done clean: diff --git a/logging.bash b/logging.bash index 5372a58..466afb0 100644 --- a/logging.bash +++ b/logging.bash @@ -6,4 +6,3 @@ dedcat() { (>&2 cat <<<"$@"); exit 1; } xcat() { (>&2 cat "$@"); exit 0; } excat() { (>&2 cat <<<"$@"); exit 0; } die() { errcho $@; exit 1; } -mktimestamp() { date '+%Y-%m-%d_%s'; } diff --git a/scripts/record-call b/scripts/record-call deleted file mode 100755 index 5c36ad7..0000000 --- a/scripts/record-call +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash - -: ' - * Record calls with Julia for future annotation 😻 - * (just the audio on my end) - ' - -. "$(dirname $0)/util/logging.bash" - -read -d '' usage <