Comments (8)
It seems to be doing the right think on my Ubuntu build machine.
Are you seeing the '\n' characters in version.h?
What platform are you building it on?
$ cat version.h
#ifndef __VERSION_H__
#define __VERSION_H__
#define VERSION_DATE "Mon, 29 Jul 2013 12:40:17 +0100"
#define VERSION_HASH "efd1049"
#define VERSION_BRANCH "master"
#define VERSION_REPO "[email protected]:popcornmix/omxplayer.git"
#endif
@skgsergio - any comments?
from omxplayer.
Yeah the '\n's are echoed to version.h as they are.
I'm using Arch. Ubuntu must have an alias set up by default for
echo -e....
from omxplayer.
It seems that Ubuntu's default shell Dash doesn't
support -e, but instead does it by default.
One way to fox this is to use full path to the
echo implementation provided by coreutils
/bin/echo or printf command (same syntax as in c)
from omxplayer.
Or use #!/bin/bash in scripts that use bashisms...
from omxplayer.
I were traveling so I'm sorry I didn't reply sooner.
My script its working on Debian (and dereivated) because uses dash.
I'll convert it to bash as is more "standard" (I use ZSH :P) and I'll make a pull request.
from omxplayer.
I wonder if this is a more portable way of producing a blank line.
echo #define VERSION_H
echo
from omxplayer.
Devil's advocate question: is there any need for blank lines in a generated header file like that? There's so little to the generated file, lack of blank lines arguably won't even hurt readability.
from omxplayer.
There is no reason except me, anyway I've noticed things like ${ref#refs/heads/}
or ${upstream%/$branch}
are behave strange in non bash interpreters.
from omxplayer.
Related Issues (20)
- Playing audio to individual HDMI HOT 2
- Volume control while playing HOT 3
- install in other arm machine HOT 1
- Cannot play audio over bluetooth after reboot HOT 1
- Omxplayer and bluealsa
- DBus.Error.ServiceUnknown HOT 1
- Omxplayer with Argon One v2 ir remote
- Package 'libssl1.0-dev' has no installation candidate HOT 1
- when i make -j$(nproc),there have an error HOT 5
- omxplayer doesn't play live stream, playing local mp4 video works though HOT 1
- Will omxplayer stop working eventually? HOT 2
- DBUS Name Control problem HOT 1
- pi and sound HOT 1
- Any plans to adapt for Raspberry Pi 4?
- Fixes #939
- libva1 deprecated HOT 1
- omxplayer has 20s delay on raspberry pi live stream HOT 4
- OMXplayer freezes when trying to seek
- E: Package 'omxplayer' has no installation candidate HOT 1
- Compiling on Raspberry Pi 5 running Debian 12 32bits?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omxplayer.