diff options
author | Akim Demaille <akim@epita.fr> | 2001-10-30 16:50:14 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2001-10-30 16:50:14 +0000 |
commit | d0e5c5f582b185dd06155cb9a85fdce25ebb27ef (patch) | |
tree | 57f1495ddaa539278a5cd246af527b0f892cd505 /automake.in | |
parent | 123a9695f958d8f32c83fcc8b90ac050b4b90133 (diff) | |
download | automake-d0e5c5f582b185dd06155cb9a85fdce25ebb27ef.tar.gz |
* automake.in (&create): Reinstall.
Diffstat (limited to 'automake.in')
-rwxr-xr-x | automake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/automake.in b/automake.in index 1d1393837..0661edb81 100755 --- a/automake.in +++ b/automake.in @@ -7888,6 +7888,17 @@ sub set_strictness ################################################################ +# Ensure a file exists. +sub create +{ + use IO::File; + my ($file) = @_; + + my $touch = new IO::File (">> $file"); + $touch->close; +} + + # Glob something. Do this to avoid indentation screwups everywhere we # want to glob. Gross! sub my_glob |