update-from-nma.in 352 Bytes
Newer Older
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@"