return 1
fi
local railsdir="/var/www/${pkgname%-server}/current"
- echo "$version" >"$railsdir/package-build.version"
local -a pos_args=("$srcdir/=$railsdir" "$pkgname" "Curoverse, Inc." dir "$version")
local license_arg="$license_path=$railsdir/$(basename "$license_path")"
local -a switches=(--after-install "$scripts_dir/postinst"
switches+=(--iteration $RAILS_PACKAGE_ITERATION)
fi
# For some reason fpm excludes need to not start with /.
- local exclude_root="${railsdir#/}"
+ #local exclude_root="${railsdir#/}"
# .git and packages are for the SSO server, which is built from its
# repository root.
local -a exclude_list=(.git packages tmp log coverage Capfile\* \