Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mechanical-parts
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
mechanical-parts
Commits
898502d5
Commit
898502d5
authored
Jun 12, 2015
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added png's and jpg's
parent
9016d336
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
archive_stp_dxf_pdf_any_year.sh
archive_stp_dxf_pdf_any_year.sh
+1
-1
pre-push
githooks/pre-push
+1
-1
No files found.
archive_stp_dxf_pdf_any_year.sh
View file @
898502d5
...
...
@@ -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
...
...
githooks/pre-push
View file @
898502d5
...
...
@@ -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
*
.p
ng
*
.jpg
*
.p
df~
;
do
if
[
-f
$f
]
;
then
mv
$f
$bkp_dir
;
fi
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment