File: use-bash-shebang

package info (click to toggle)
yadm 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: python: 4,208; sh: 2,025; makefile: 206
file content (21 lines) | stat: -rw-r--r-- 568 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Angel Abad <angel@debian.org>
Date: Tue, 3 Dec 2024 00:50:23 +0800
Subject: Bash term in posix shell

Bug: https://github.com/TheLocehiliosan/yadm/issues/94
Last-Update: 2022-04-16

This script is marked as running under /bin/sh, but it seems to use a
feature found in bash but not in the SUSv3 or POSIX shell specification.
---
 yadm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/yadm
+++ b/yadm
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # yadm - Yet Another Dotfiles Manager
 # Copyright (C) 2015-2024 Tim Byrne
 # Copyright (C) 2025 Erik Flodin