Github messages for voidlinux
 help / color / mirror / Atom feed
From: ayoubelmhamdi <ayoubelmhamdi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] adding shebang to avoid   error in non POSIX shell
Date: Wed, 01 Dec 2021 18:10:46 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34335@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

There is a new pull request by ayoubelmhamdi against master on the void-packages repository

https://github.com/ayoubelmhamdi/void-packages patch-1
https://github.com/void-linux/void-packages/pull/34335

adding shebang to avoid   error in non POSIX shell
```shell
$ for f in /etc/wpa_supplicant/wpa_supplicant-*.conf /etc/wpa_supplicant-*.conf ;do echo $i;done
```
not working in zsh for example
also when I try to install void-linux by wifi from scratch , wpa_supplicant cant connect to wifi with `void-installer` I must connect manually by , 


A patch file from https://github.com/void-linux/void-packages/pull/34335.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-34335.patch --]
[-- Type: text/x-diff, Size: 873 bytes --]

From 1fa97c9052e9f1dba4e235c8515e17cd69a1ad4f Mon Sep 17 00:00:00 2001
From: AYOUB EL MHAMDI <34358145+ayoubelmhamdi@users.noreply.github.com>
Date: Wed, 1 Dec 2021 18:07:14 +0100
Subject: [PATCH] add shebang to avoid   error in non POSIX shell

for f in /etc/wpa_supplicant/wpa_supplicant-*.conf /etc/wpa_supplicant-*.conf
not work in zsh for example
---
 srcpkgs/wpa_supplicant/files/wpa_supplicant/auto | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/wpa_supplicant/files/wpa_supplicant/auto b/srcpkgs/wpa_supplicant/files/wpa_supplicant/auto
index ce7774b4eb6a..97feaaa01e39 100644
--- a/srcpkgs/wpa_supplicant/files/wpa_supplicant/auto
+++ b/srcpkgs/wpa_supplicant/files/wpa_supplicant/auto
@@ -1,3 +1,4 @@
+#!/bin/sh
 # find interface from wpa_supplicant-*.conf files
 for f in /etc/wpa_supplicant/wpa_supplicant-*.conf \
 	/etc/wpa_supplicant-*.conf; do

             reply	other threads:[~2021-12-01 17:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 17:10 ayoubelmhamdi [this message]
2021-12-01 17:15 ` Duncaen
2021-12-01 19:48 ` abenson
2021-12-01 22:13 ` Chocimier
2021-12-03  0:40 ` ayoubelmhamdi
2021-12-03  1:14 ` ayoubelmhamdi
2021-12-03 18:35 ` ericonr
2021-12-03 18:47 ` ericonr
2021-12-03 18:47 ` [PR PATCH] [Closed]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34335@inbox.vuxu.org \
    --to=ayoubelmhamdi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).