Release scripts – @@

Last week, in the course of introducing some best practice release scripts, I had cause to revisit the usage of @ and @@.

This is worth a brief blog entry because it is something that I only found out about a few months ago (or, again, it might be one of those things that I used to know about but have completely forgotten about).

My typical set of release scripts call other scripts, etc, etc.

It is well worth noting that whereas @ runs a script in the current directory or in a full or relative directory as specified, @@ runs a script in the same directory as the script that called it.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 68 other followers

%d bloggers like this: