delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/15/11:26:26

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Authority-Analysis: v=2.0 cv=O9a7TWBW c=1 sm=0 a=6jktZp3dcHAl1vye2O6wCg==:17 a=jl9P3j1e7_0A:10 a=yqpquHFD9rMA:10 a=15J4VBR1OrAA:10 a=6WB07kdHjWAA:10 a=8nJEP1OIZ-IA:10 a=wR-FlJDvAAAA:8 a=VPJbDUjJpGwA:10 a=r7Z3Jtp4AAAA:8 a=mUtO8NFy2hQSFo2ciYkA:9 a=wPNLvfGTeEIA:10 a=eslk1tj7Wa8A:10 a=6jktZp3dcHAl1vye2O6wCg==:117
X-Cloudmark-Score: 0
X-Authenticated-User:
X-Originating-IP: 70.113.67.117
Message-ID: <50F582FC.9020908@ecosensory.com>
Date: Tue, 15 Jan 2013 10:25:32 -0600
From: John Griessen <john AT ecosensory DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] windows pcb version
References: <50F20C2D DOT 5080407 AT ecosensory DOT com> <201301130123 DOT r0D1NwQJ003903 AT envy DOT delorie DOT com> <50F34397 DOT 8000700 AT ecosensory DOT com> <CAOuGh8_3C6Frpd33=LzF1ewsEPCcFquYbYY2+BppRzBa74COpw AT mail DOT gmail DOT com> <50F46D96 DOT 8000506 AT ecosensory DOT com> <CAOuGh88=+OnED=fV80wk5t1S68boMSTtRVPYjBbOnVwOfDh-mg AT mail DOT gmail DOT com> <50F4E4FF DOT 70602 AT ecosensory DOT com> <CAOuGh88V=3vzjPNOHR1dFMa3gsBGhXLLFzoKikiHy7brYxkSZw AT mail DOT gmail DOT com> <50F56E36 DOT 2000007 AT ecosensory DOT com> <CAOuGh8_gyVfLwe7EvANWwMuiNbpf-nmKKAWXHC00cEaTApV6oA AT mail DOT gmail DOT com>
In-Reply-To: <CAOuGh8_gyVfLwe7EvANWwMuiNbpf-nmKKAWXHC00cEaTApV6oA@mail.gmail.com>
Reply-To: geda-user AT delorie DOT com

On 01/15/2013 09:25 AM, Bob Paddock wrote:
>>> This gets you bash/sh there is no need to run from inside of MSys unless you are trying to build something.
>
>> Are you saying to not have the msys shell on the path?
>
> Having MSys/bin in the path is fine.  It is if you run msys.bat or
> not.  For what I think you are doing you do not want to run msys.bat,
>
> You only want to have the tools in the path.  If you run msys.bat then
> you will be inside of the MSys build environment which may or may not
> be where you want to be depending on the task at hand.

Sounds simple enough to get into though --  create an icon for it.

Being inside
> the MSys build environment will make things work in a more Unix like
> style that non-Windows people would find more comfortable, and it is
> the only way to build some packages on Windows.  A pure Windows user
> would find running from inside MSys confusing.
>

Hmmm....  I want my scripts to run and make files to run and be able to
copy or delete or move files from dir to dir to arrange fab files neatly,
deal with different fabs, and clean and tidy up.

This is a make file snippet I'd like to have workable:

G=tek_7k_flex
T=TEK_7K_FLEX-3
F=fab1.com
fab1:
	if test -d $F; then rm -f $F/*; else mkdir $F; fi
	pcb -x gerber --all-layers $G.pcb
	cp $G.outline.gbr $F/$T.outline
	cp $G.topsilk.gbr $F/$T.top-silk
	cp $G.topmask.gbr $F/$T.top-soldermask
	cp $G.top.gbr $F/$T.top
	cp $G.group2.gbr $F/$T.gr2
	cp $G.group3.gbr $F/$T.gr3
	cp $G.group5.gbr $F/$T.gr5
	cp $G.bottom.gbr $F/$T.bot
	cp $G.bottommask.gbr $F/$T.bot-soldermask
	cp $G.bottomsilk.gbr $F/$T.bot-silk
	cp $G.plated-drill.cnc $F/$T.plated.cnc
	cp $G.fab.gbr $F/$T.fab.gbr
	cp $G.bottompaste.gbr $F/$T.bot-paste
	cp $G.toppaste.gbr $F/$T.top-paste
	-rm -f $F/*.zip
	cd $F; rm *.gr3 *.gr2; zip -9 $T.zip $T.[a-y]*

Does use of commands
test -d
cp
rm
imply a need for msys?

John

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019