mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* scripts
@ 2011-02-28 16:03 Vanalme Filip
  2011-02-28 16:09 ` scripts Marc Kleine-Budde
  0 siblings, 1 reply; 10+ messages in thread
From: Vanalme Filip @ 2011-02-28 16:03 UTC (permalink / raw)
  To: barebox

I'm currently studying some Barebox scripts (i.e. init, boot) and I have noticed something strange with scripts :

barebox:/env/bin echo $bootfile
zImage
barebox:/env/bin echo $eth0.serverip
10.0.48.80
barebox:/env/bin cat test
#!/bin/sh

echo --$eth0.serverip--
echo --$bootfile--
barebox:/env/bin ./test
--10.0.48.80--
----
barebox:/env/bin

When I do an echo of the two environment variables from the command prompt, I can see their values. However, when both commands are entered in a simple script, only the serverip address appears. (I created the test script with "edit" from within Barebox). Am I doing something wrong ?


Filip


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2011-03-02 16:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-28 16:03 scripts Vanalme Filip
2011-02-28 16:09 ` scripts Marc Kleine-Budde
2011-02-28 16:12   ` scripts Marc Kleine-Budde
2011-03-01  8:02     ` scripts Vanalme Filip
2011-03-01 14:06       ` scripts Vanalme Filip
2011-03-01 14:11         ` scripts Marc Kleine-Budde
2011-03-01 14:20           ` scripts Baruch Siach
2011-03-02 16:14             ` scripts Uwe Kleine-König
2011-03-02  8:36           ` scripts Vanalme Filip
2011-03-02  9:30             ` scripts Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox