summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-10 23:21:12 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-10 23:21:52 -0700
commit39f9bc664b8e597203c5048b55b6da3d25f5cbdd (patch)
tree47dd5edac12c319b2cde636e3f9f87d058ddc910 /scripts
parentb13fbe8a86db83c1c62866313f45c5fb4df044e3 (diff)
downloaddotfiles-39f9bc664b8e597203c5048b55b6da3d25f5cbdd.tar.gz
use shebangs more consistently
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/arizona/d2ldlrn2
-rwxr-xr-xscripts/arizona/syllabus_dates2
-rwxr-xr-xscripts/desktop/fresh-workspace2
-rwxr-xr-xscripts/desktop/i3status-wrapper2
-rwxr-xr-xscripts/desktop/sway-ftp-master2
-rwxr-xr-xscripts/desktop/xuserrun2
-rwxr-xr-xscripts/docs/make-poster-pdf2
-rwxr-xr-xscripts/docs/pdfbg.py2
-rwxr-xr-xscripts/flashdrive/usbpubkeys2
-rwxr-xr-xscripts/git/fill-missing-signoffs-since2
-rwxr-xr-xscripts/mail/archive-fmail-to-annex2
-rwxr-xr-xscripts/mail/expand-annex-to-fmail2
-rwxr-xr-xscripts/media/burndir2
-rwxr-xr-xscripts/media/copydvd2
-rwxr-xr-xscripts/media/encode.sh2
-rwxr-xr-xscripts/pgp/offcaff2
-rwxr-xr-xscripts/root/ata-secure-erase2
17 files changed, 17 insertions, 17 deletions
diff --git a/scripts/arizona/d2ldlrn b/scripts/arizona/d2ldlrn
index ad5b3302..dec3e47f 100755
--- a/scripts/arizona/d2ldlrn
+++ b/scripts/arizona/d2ldlrn
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use 5.028;
use strict;
diff --git a/scripts/arizona/syllabus_dates b/scripts/arizona/syllabus_dates
index 444e93cf..4907344e 100755
--- a/scripts/arizona/syllabus_dates
+++ b/scripts/arizona/syllabus_dates
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use Date::Manip;
diff --git a/scripts/desktop/fresh-workspace b/scripts/desktop/fresh-workspace
index de369569..d02065cd 100755
--- a/scripts/desktop/fresh-workspace
+++ b/scripts/desktop/fresh-workspace
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use lib "$ENV{HOME}/src/dotfiles/perl5";
use Local::Desktop;
diff --git a/scripts/desktop/i3status-wrapper b/scripts/desktop/i3status-wrapper
index 3ac4a5c6..bee9dce4 100755
--- a/scripts/desktop/i3status-wrapper
+++ b/scripts/desktop/i3status-wrapper
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# i3status-wrapper -- wrapper for i3status(1), plus other monitoring
#
diff --git a/scripts/desktop/sway-ftp-master b/scripts/desktop/sway-ftp-master
index 11b954b4..fee97c97 100755
--- a/scripts/desktop/sway-ftp-master
+++ b/scripts/desktop/sway-ftp-master
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# sway-ftp-master -- set up some windows for doing work on Debian's ftp-master
#
diff --git a/scripts/desktop/xuserrun b/scripts/desktop/xuserrun
index 6ec24350..204d996b 100755
--- a/scripts/desktop/xuserrun
+++ b/scripts/desktop/xuserrun
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Run a command as the currently active X11 user
diff --git a/scripts/docs/make-poster-pdf b/scripts/docs/make-poster-pdf
index f8ac917b..a6b735f3 100755
--- a/scripts/docs/make-poster-pdf
+++ b/scripts/docs/make-poster-pdf
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Resizes files to A4 (or other size - change PaperWdthMetr and PaperHghtMetr below) and merges into a PDF
diff --git a/scripts/docs/pdfbg.py b/scripts/docs/pdfbg.py
index af1b28cd..fa494927 100755
--- a/scripts/docs/pdfbg.py
+++ b/scripts/docs/pdfbg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import tempfile
import subprocess
diff --git a/scripts/flashdrive/usbpubkeys b/scripts/flashdrive/usbpubkeys
index 20330b99..798868b3 100755
--- a/scripts/flashdrive/usbpubkeys
+++ b/scripts/flashdrive/usbpubkeys
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# update cache of ssh and https host keys for USB drives
diff --git a/scripts/git/fill-missing-signoffs-since b/scripts/git/fill-missing-signoffs-since
index 35612cc7..4ea6312b 100755
--- a/scripts/git/fill-missing-signoffs-since
+++ b/scripts/git/fill-missing-signoffs-since
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# fill-missing-signoffs-since -- fill in missing Signed-off-by: lines
diff --git a/scripts/mail/archive-fmail-to-annex b/scripts/mail/archive-fmail-to-annex
index 4990082c..67c45268 100755
--- a/scripts/mail/archive-fmail-to-annex
+++ b/scripts/mail/archive-fmail-to-annex
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# Copyright (C) 2019 Sean Whitton
#
diff --git a/scripts/mail/expand-annex-to-fmail b/scripts/mail/expand-annex-to-fmail
index a0985283..cda5003f 100755
--- a/scripts/mail/expand-annex-to-fmail
+++ b/scripts/mail/expand-annex-to-fmail
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# Copyright (C) 2019, 2022 Sean Whitton
#
diff --git a/scripts/media/burndir b/scripts/media/burndir
index 786845ac..fa0abbec 100755
--- a/scripts/media/burndir
+++ b/scripts/media/burndir
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#Usage: burndir <dir> <device>
diff --git a/scripts/media/copydvd b/scripts/media/copydvd
index 6b939c68..228ab645 100755
--- a/scripts/media/copydvd
+++ b/scripts/media/copydvd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#Usage: copydvd <read> <write>
diff --git a/scripts/media/encode.sh b/scripts/media/encode.sh
index 4c72eff5..6e0bf483 100755
--- a/scripts/media/encode.sh
+++ b/scripts/media/encode.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# encode.sh
#
diff --git a/scripts/pgp/offcaff b/scripts/pgp/offcaff
index ef71398d..7e931bf2 100755
--- a/scripts/pgp/offcaff
+++ b/scripts/pgp/offcaff
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# credits: David Bremner -- https://www.cs.unb.ca/~bremner/blog/posts/offcaff/
diff --git a/scripts/root/ata-secure-erase b/scripts/root/ata-secure-erase
index 2a998904..8aca4dc2 100755
--- a/scripts/root/ata-secure-erase
+++ b/scripts/root/ata-secure-erase
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# activate hardware's mysterious black magic "ATA secure erase", to
# prepare for old drive disposal, or to reclaim used parts of an SSD