projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f25058
)
Change to the sources directory before running the update
author
Tom Hughes
<tom@compton.nu>
Sun, 16 Feb 2014 14:00:00 +0000
(14:00 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 16 Feb 2014 14:00:00 +0000
(14:00 +0000)
cookbooks/taginfo/templates/default/update-taginfo.erb
patch
|
blob
|
history
diff --git
a/cookbooks/taginfo/templates/default/update-taginfo.erb
b/cookbooks/taginfo/templates/default/update-taginfo.erb
index 801591927356f49ebe9fa4e2154c1c151953fa6f..84d033a5375d28bbe8399bf41df11a5399437c9e 100644
(file)
--- a/
cookbooks/taginfo/templates/default/update-taginfo.erb
+++ b/
cookbooks/taginfo/templates/default/update-taginfo.erb
@@
-6,6
+6,8
@@
set -e
ROOT="<%= @directory %>"
+cd $ROOT/taginfo/sources
+
if [ -f "$ROOT/data/taginfo-history.db" ]
then
cp $ROOT/data/taginfo-history.db $ROOT/sources