summaryrefslogtreecommitdiff
path: root/setup.rc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-22 06:32:59 +0000
committerMichael Forney <mforney@mforney.org>2016-04-23 16:51:19 -0700
commit66ed83a51f7752464befbb48c08759293da32b4c (patch)
treee54da8d69daa699eb671d217e7bc6130c09bae5f /setup.rc
parentf80319a9b838e3e272409e507d8a0b870cd98535 (diff)
Don't use head -c -1; it's not portable
Diffstat (limited to 'setup.rc')
-rwxr-xr-xsetup.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.rc b/setup.rc
index c5a99163..920dfbf1 100755
--- a/setup.rc
+++ b/setup.rc
@@ -38,7 +38,7 @@ fn gen {
tree_inputs=()
gen_inputs=()
- ifs=() { absdir=`{pwd | head -c -1} }
+ absdir=`{pwd}
{
set dir $dir
if(~ $dir .) set outdir '$builddir'