Source: vcsh
Version: 2.0.10-0.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
vcsh could not be built reproducibly.

This is because the main vcsh script varies in its shebang depending
on the current shell:

  │ │ ├── ./usr/bin/vcsh
  │ │ │ @@ -1,8 +1,8 @@
  │ │ │ -#!/bin/bash
  │ │ │ +#!/bin/sh

I think the attached patch should fix it; a similar approach has worked
with other Autotools packages, although I have never managed to trace
exactly through the code how the _autodetection_ works.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-04-11 08:11:28.391467765 -0700
--- b/debian/rules      2025-04-11 08:20:20.957801455 -0700
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export SHELL = /bin/sh
+
 %:
        dh $@
 

Reply via email to