From a9a07d58af2d8048ef3dfd800771bd59ce3c69a8 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 30 Aug 2008 15:53:10 +0200 Subject: [PATCH] sde-download: Enhanced to make -alt-dir persistant --- bin/sde-download | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/sde-download b/bin/sde-download index 3ac264d..42471fd 100755 --- a/bin/sde-download +++ b/bin/sde-download @@ -144,8 +144,9 @@ while [ $# -gt 0 ]; do -alt-dir) # check for an alternative directory where to search for # package source tarballs - altdir=$( cd $2; pwd -P ) - options="$options -alt-dir $2" + altdir=$( cd "$2" && pwd -P ) + $SDEROOT/bin/sde-config-ini -F "$SDESETTINGS" \ + "download.altdir=$altdir" shift ;; -try-questionable)