From 898502d52ec8efdbce5dd1d110ed55f55897481e Mon Sep 17 00:00:00 2001 From: Oleg Dzhimiev Date: Fri, 12 Jun 2015 17:27:14 -0600 Subject: [PATCH] added png's and jpg's --- archive_stp_dxf_pdf_any_year.sh | 2 +- githooks/pre-push | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archive_stp_dxf_pdf_any_year.sh b/archive_stp_dxf_pdf_any_year.sh index fe72d6a..8b63207 100755 --- a/archive_stp_dxf_pdf_any_year.sh +++ b/archive_stp_dxf_pdf_any_year.sh @@ -94,7 +94,7 @@ else # Process all bmps # b - border size in pixels b=20 - for f in *.bmp + for f in *.bmp *.jpg *.png do #if there are no *.bmp it still runs once?! if [ -f $f ]; then diff --git a/githooks/pre-push b/githooks/pre-push index feefcfc..e90b0b3 100755 --- a/githooks/pre-push +++ b/githooks/pre-push @@ -11,7 +11,7 @@ cd $production_dir #back up files echo "-------- $0: Back Up --------" if [ ! -d $bkp_dir ]; then mkdir $bkp_dir; fi -for f in *.stp *.dxf *.igs *.dwb *.bmp *.pdf~; +for f in *.stp *.dxf *.igs *.dwb *.bmp *.png *.jpg *.pdf~; do if [ -f $f ]; then mv $f $bkp_dir; fi done -- 2.18.1