generate-kde-frameworks.sh: fix helper script path

- Fix a bug in the script which prevented it from finding its helper script.
- Automatically redirect the output of the script to make it even easier
  to use.
This commit is contained in:
Thomas Tuegel 2016-07-13 13:52:25 -05:00
parent 3eb9b19d3b
commit 5630ac1d92
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,5 @@
#!/bin/sh
./fetch-kde-qt.sh http://download.kde.org/stable/frameworks/5.24/ -A '*.tar.xz'
./maintainers/scripts/fetch-kde-qt.sh \
http://download.kde.org/stable/frameworks/5.24/ -A '*.tar.xz' \
>pkgs/desktops/kde-5/frameworks/srcs.nix

View File

@ -2,14 +2,10 @@
# Updates
Before a major version update, make a copy of this directory. (We like to
keep the old version around for a short time after major updates.)
1. Update the URL in `maintainers/scripts/generate-kde-frameworks.sh`.
2. From the top of the Nixpkgs tree, run
`./maintainers/scripts/generate-kde-frameworks.sh > pkgs/desktops/kde-5/frameworks/srcs.nix'.
3. Check that the new packages build correctly.
4. Commit the changes and open a pull request.
1. Update the URL in `maintainers/scripts/generate-kde-frameworks.sh` and
run that script from the top of the Nixpkgs tree.
2. Check that the new packages build correctly.
3. Commit the changes and open a pull request.
*/