bugfix: fix arvados-node-manager package build
authorWard Vandewege <ward@jhvc.com>
Fri, 15 May 2020 00:57:49 +0000 (20:57 -0400)
committerWard Vandewege <ward@jhvc.com>
Fri, 15 May 2020 00:57:49 +0000 (20:57 -0400)
refs #16373

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@jhvc.com>

build/run-library.sh

index 45fc231d70d17ca2b64f2f9b1d97a802d0e45d01..7dc293ab61e2612cb7a429a06f54a48d2a48b614 100755 (executable)
@@ -673,9 +673,9 @@ fpm_build_virtualenv () {
   done
 
   # make sure the systemd service file ends up in the right place
-  # currently only used by arvados-docker-cleaner
+  # used by arvados-docker-cleaner and arvados-node-manager
   if [[ -e "${systemd_unit}" ]]; then
-    COMMAND_ARR+=("usr/share/python3/dist/$PKG/share/doc/$PKG/$PKG.service=/lib/systemd/system/$PKG.service")
+    COMMAND_ARR+=("usr/share/$python/dist/$PKG/share/doc/$PKG/$PKG.service=/lib/systemd/system/$PKG.service")
   fi
 
   COMMAND_ARR+=("${fpm_args[@]}")