aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/grsup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/grsup b/bin/grsup
index 5f03131..74670cd 100755
--- a/bin/grsup
+++ b/bin/grsup
@@ -233,7 +233,7 @@ def main():
if os.path.isfile(oldmakeconf):
if not filecmp.cmp(newmakeconf, oldmakeconf):
print('New make.conf differs from local version. Backing up as make.conf.old')
- shutil(oldmakeconf, '%s.old' % oldmakeconf)
+ shutil.copy(oldmakeconf, '%s.old' % oldmakeconf)
shutil.copy(newmakeconf, oldmakeconf)
# 1. Install all world.conf files.