Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] adding shebang to avoid   error in non POSIX shell
@ 2021-12-01 17:10 ayoubelmhamdi
  2021-12-01 17:15 ` Duncaen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ayoubelmhamdi @ 2021-12-01 17:10 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-12-03 18:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 17:10 [PR PATCH] adding shebang to avoid error in non POSIX shell ayoubelmhamdi
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

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).