Forcing script execution to be in a particular directory

This commit is contained in:
Tyler Akins 2015-01-23 17:47:31 +00:00
parent 1151ec0a9e
commit c90d0af323

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "$0")"/..
date-string() { date; } date-string() { date; }
wrapper() { echo -n "*** $1 ***"; } wrapper() { echo -n "*** $1 ***"; }