summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-17 00:18:52 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-17 00:18:52 -0600
commit5c3ef185cea1868cb4aea2352df51ca11543ecfa (patch)
tree717b8d0e4f67d1a6fddc1a58018672aba1727f00
parentce3d10a93232a1dca8018674fc59f9682bfd8e4c (diff)
list-depends: make file locations configurable from the environmentv20130717
-rwxr-xr-xlist-depends4
1 files 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 \