aboutsummaryrefslogtreecommitdiffstats
path: root/create-file
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2007-05-08 14:54:13 +0000
committerHerton Ronaldo Krzesinski <herton@mandriva.com.br>2007-05-08 14:54:13 +0000
commitf52260f8e82f866f7e7d8a0f9c06d79ef50c493b (patch)
tree24189be5dc450801c35d037cceeb4aede8b22165 /create-file
parentb04f3dc826671fc8e150a0bce6d46245e3977e0e (diff)
downloadrpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar.gz
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar.bz2
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.tar.xz
rpm-helper-f52260f8e82f866f7e7d8a0f9c06d79ef50c493b.zip
fixed deprecated chown syntax inside create-file and del-shell usage
inside rpm-helper.macros.in, reported by Vincent Danen on ticket #30568. fixed my entry in AUTHORS file
Diffstat (limited to 'create-file')
-rwxr-xr-xcreate-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-file b/create-file
index 6cdb1e0..6ae3417 100755
--- a/create-file
+++ b/create-file
@@ -24,7 +24,7 @@ mode=$6 # mode of the file
if [ ! -f $file ]; then
touch $file
- chown $owner.$group $file
+ chown $owner:$group $file
chmod $mode $file
fi