From 5c3ef185cea1868cb4aea2352df51ca11543ecfa Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 17 Jul 2013 00:18:52 -0600 Subject: list-depends: make file locations configurable from the environment --- list-depends | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/list-depends b/list-depends index d133f03..2a5fa98 100755 --- a/list-depends +++ b/list-depends @@ -1,7 +1,7 @@ #!/bin/bash -stat_file='depends_static.txt' -prod_file='https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt' +[[ -n $stat_file ]] || stat_file='depends_static.txt' +[[ -n $prod_file ]] || prod_file='https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt' cat "${stat_file}" | sed -r \ -- cgit v1.1-4-g5e80