channel-scripts/generate-patches.sh
Eelco Dolstra f4f15a619e * Move stuff around.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33593 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
2012-04-04 21:18:57 +00:00

15 lines
277 B
Bash
Executable file

#! /bin/sh -e
src="$1"
dst="$2"
if test ! -d "$src" -o ! -d "$dst"; then
echo "syntax: $0 source-dir dest-dir"
exit 1
fi
nix-generate-patches \
/data/releases/nars \
/data/releases/patches \
http://nixos.org/releases/patches \
"$src/MANIFEST" "$dst/MANIFEST"