Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Issue: #26 - Issue: tiliado/nuvolaplayer#469 Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
- Loading branch information
1 parent
1e0c10a
commit 0970e18
Showing
2 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
set -eu | ||
FILE=$(wget "https://waf.io/" -O - | grep -o -m 1 -E 'waf-[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+') | ||
wget "https://waf.io/$FILE" | ||
echo "#!/usr/bin/env python3" > waf-new | ||
tail -n +2 "$FILE" >> waf-new | ||
chmod a+x waf-new | ||
mv waf-new waf | ||
rm "$FILE" |