summaryrefslogtreecommitdiff
path: root/update-from-nma.in
blob: 76738b10b76526cc3f20bd9773c4ff9c0be865ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

cd @working_dir@

export FILES="@source_files@"
export DIR="@input_dir@"

@program@ &&
patch -p4 < @source_patch@ &&
git add @source_files@ &&
git commit -m "@source_message@"

export FILES="@resource_data@"
export DIR="@input_dir@"

@program@ &&
patch -p4 < @resource_patch@ &&
git add @resource_data@ &&
git commit -m "@resource_message@"