chromium/update.sh: Allow to be called out-of-tree
Changing the working directory to pkgs/applications/networking/browsers/chromium is a bit annoying, so let's make sure the script can be called from anywhere. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
f7e2171937
commit
a62f100ec3
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
cd "$(dirname "$0")"
|
||||||
sp="$(nix-build -Q --no-out-link source/update.nix -A update)"
|
sp="$(nix-build -Q --no-out-link source/update.nix -A update)"
|
||||||
cat "$sp" > source/sources.nix
|
cat "$sp" > source/sources.nix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user