diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-12-31 15:42:13 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-12-31 15:42:13 +0000 |
commit | 4f246a9a2aa45b68644a3adb7cabe2eac18f483e (patch) | |
tree | 098a8b9f854caa73a772e543514d7a22174d16a8 /src/main.aap | |
parent | f5dcf7c3b5b59ee107a05a3c6cbb335399a21150 (diff) |
updated for version 7.1-176v7.1.176
Diffstat (limited to 'src/main.aap')
-rw-r--r-- | src/main.aap | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.aap b/src/main.aap index 54debd6076..21b617446c 100644 --- a/src/main.aap +++ b/src/main.aap @@ -63,8 +63,9 @@ @else: @ arch = "ppc" :print Building for $arch system + config_args = `file2string("config.arg")` :sys CONFIG_STATUS=auto/config.status - ./configure.aap `file2string("config.arg")` + ./configure.aap $config_args --with-mac-arch=$arch --cache-file=auto/config.cache @@ -440,11 +441,13 @@ auto/pathdef.c: auto/config.aap :print >> $target char_u *all_lflags = (char_u *)"$linkcmd"; @if _no.get("COMPILEDBY"): who = $COMPILEDBY - where = '' + where = @else: :syseval whoami | :eval re.sub("\n", "", stdin) | :assign who :syseval hostname | :eval re.sub("\n", "", stdin) | :assign where + @who = string.replace(who, '"', '\\"') + @where = string.replace(where, '"', '\\"') :print >> $target char_u *compiled_user = (char_u *)"$who"; :print >> $target char_u *compiled_sys = (char_u *)"$where"; |