diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2010-06-27 23:11:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2010-06-27 23:11:37 +0200 |
commit | 96c183fe4c622c7c2d9b1a2a5413baf622369328 (patch) | |
tree | a53d2f203860313118d1b7f5bb7df383a34725fb /exporters/darcs/x2d | |
parent | 731ecf0257e9860c0e0d36722150d9a36d4743ae (diff) | |
download | python-fastimport-96c183fe4c622c7c2d9b1a2a5413baf622369328.tar.gz |
x2d: pass options to d-f-i
Diffstat (limited to 'exporters/darcs/x2d')
-rwxr-xr-x | exporters/darcs/x2d | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/exporters/darcs/x2d b/exporters/darcs/x2d index 61c66ef..398103d 100755 --- a/exporters/darcs/x2d +++ b/exporters/darcs/x2d @@ -62,6 +62,12 @@ case $format in ;; esac +common_opts="" +while [ -n "$2" ] +do + common_opts="$common_opts $1" + shift 1 +done origin="$1" shift 1 @@ -77,7 +83,7 @@ fmark="$origin.darcs/_darcs/fast-import/ffi-marks" mkdir -p $origin.darcs cd $origin.darcs -common_opts="--logfile $origin.darcs/_darcs/fast-import/log" +common_opts="$common_opts --logfile $origin.darcs/_darcs/fast-import/log" pypath="/$(python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()[1:]')/" if [ ! -f $dmark ]; then |