From: Dan Mick Date: Wed, 22 May 2024 20:30:51 +0000 (-0700) Subject: scripts: add vim modelines for editing ease X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=708274d093bfe3cdaaf3b3e4d0f01343188695df;p=ceph-build.git scripts: add vim modelines for editing ease Signed-off-by: Dan Mick --- diff --git a/scripts/sign-rpms b/scripts/sign-rpms index 881bdd30..4670de4e 100755 --- a/scripts/sign-rpms +++ b/scripts/sign-rpms @@ -1,4 +1,5 @@ #!/bin/bash -ex +# vim: ts=2:sw=2:expandtab # This script is meant to be used when signing RPMs on a "signer" box. Such # a box needs to have the actual signing keys and follow the structure for # a repository layout. The layout follows this convention: diff --git a/scripts/sync-pull b/scripts/sync-pull index 9e03db08..c3c82857 100755 --- a/scripts/sync-pull +++ b/scripts/sync-pull @@ -1,4 +1,5 @@ #!/bin/bash -ex +# vim: ts=2:sw=2:expandtab : ${3?"Usage: $0 \$project \$release \$sha1"} # Script exits here if command-line parameter absent, diff --git a/scripts/sync-push b/scripts/sync-push index 53cdc50b..0e8ba1b0 100755 --- a/scripts/sync-push +++ b/scripts/sync-push @@ -1,4 +1,5 @@ #!/bin/bash -ex +# vim:ts=2 sw=2 expandtab # This script will push repository files from the signer box to the upstream repositories. # By default it will sync all releases defined, but can optionally take one or more # releases to sync: