]> git.pld-linux.org Git - packages/gitlab-ce.git/commitdiff
avoid passing command itself as arguments to subcommand gitlab-ce-8.11.0-0.60
authorElan Ruusamäe <glen@delfi.ee>
Mon, 22 Aug 2016 21:44:55 +0000 (00:44 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 22 Aug 2016 21:44:55 +0000 (00:44 +0300)
gitlab-ctl.sh

index 39bff2c3fe8a7f791c71702be9509100032a373f..088aafa688e1adad058432eb7e1741ff24b2db9b 100755 (executable)
@@ -66,7 +66,8 @@ posttrans() {
        EOF
 }
 
-case "$1" in
+COMMAND=$1; shift
+case "$COMMAND" in
 preinst)
        preinst
        ;;
This page took 0.0969449999999999 seconds and 4 git commands to generate.