Skip to contentSkip to conversation

/bin/checkvnc

PATCH In review Graydon, Tracy 1 participant 2 messages Sep 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 /bin/checkvnc

Script was using /bin/sh and causing an error in nightly-oe-selftest build:
/home/pokybuild/yocto-autobuilder/bin/checkvnc: 6: /home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found

Changing script to use /bin/bash instead fixes the issue.

---
 bin/checkvnc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bin/checkvnc +1 -1
index 574ba48..11b1a41 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # check if vnc server is running, and if not, cleanup and restart
 #
Signature · 1 line
2.7.0
#1 lore raw

On second thought… Forget this one. I will submit a new patch that un-bashifies it. That would be the “right” thing to do.

-t

Quoted 31 lines · Tracy

Script was using /bin/sh and causing an error in nightly-oe-selftest build:
/home/pokybuild/yocto-autobuilder/bin/checkvnc: 6:
/home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found

Changing script to use /bin/bash instead fixes the issue.

---
bin/checkvnc | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
bin/checkvnc +1 -1
index 574ba48..11b1a41 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # check if vnc server is running, and if not, cleanup and restart
 #
Signature · 7 lines
2.7.0

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto