update versions in listchanges
#!/bin/bash
-t_old="obs/OpenHPC_1.1.1_Factory"
-t_new="obs/OpenHPC_1.2_Factory"
+t_old="obs/OpenHPC_1.2_Factory"
+t_new="obs/OpenHPC_1.2.1_Factory"
f_all=pkg-ohpc.all
f_add=pkg-ohpc.chglog-add
@@ -15,10 +15,13 @@ f_new=pkg-ohpc.new
rm -f ${f_add} ${f_del} ${f_upd}
rm -f ${f_dif} ${f_old} ${f_new}
-#git diff ${t_old} ${t_new} ${f_all} >${f_dif}
+
# updated to account for path rename (ks 7/30/15)
-git diff $t_old:docs/recipes/install/centos7.2/vanilla/data/manifest/${f_all} -- ${f_all} > ${f_dif}
+#git diff $t_old:docs/recipes/install/centos7.2/vanilla/data/manifest/${f_all} -- ${f_all} > ${f_dif}
+# revert back to normal diff (ks 1/9/17)
+git diff ${t_old} ${t_new} ${f_all} >${f_dif}
+
if [ $? -ne 0 ]; then
echo "ERROR: git diff failed!"
exit
