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
7d9e869d
Commit
7d9e869d
authored
Jun 12, 2015
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Elphel/mechanical-parts
parents
3e704279
898502d5
Changes
2
Hide 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 @
7d9e869d
...
@@ -94,7 +94,7 @@ else
...
@@ -94,7 +94,7 @@ else
# Process all bmps
# Process all bmps
# b - border size in pixels
# b - border size in pixels
b
=
20
b
=
20
for
f
in
*
.bmp
for
f
in
*
.bmp
*
.jpg
*
.png
do
do
#if there are no *.bmp it still runs once?!
#if there are no *.bmp it still runs once?!
if
[
-f
$f
]
;
then
if
[
-f
$f
]
;
then
...
...
githooks/pre-push
View file @
7d9e869d
...
@@ -11,7 +11,7 @@ cd $production_dir
...
@@ -11,7 +11,7 @@ cd $production_dir
#back up files
#back up files
echo
"--------
$0
: Back Up --------"
echo
"--------
$0
: Back Up --------"
if
[
!
-d
$bkp_dir
]
;
then
mkdir
$bkp_dir
;
fi
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
do
if
[
-f
$f
]
;
then
mv
$f
$bkp_dir
;
fi
if
[
-f
$f
]
;
then
mv
$f
$bkp_dir
;
fi
done
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