tazwok rev 437

Add support to change WOK path. This is to help with the slitaz-modular project.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 12 22:26:48 2011 +0000 (2011-03-12)
parents 47873a3f85e0
children b295ee3d95b7
files tazwok
line diff
     1.1 --- a/tazwok	Sat Mar 12 11:34:37 2011 +0100
     1.2 +++ b/tazwok	Sat Mar 12 22:26:48 2011 +0000
     1.3 @@ -89,8 +89,10 @@
     1.4  	# Get configuration file.
     1.5  	get_config
     1.6  
     1.7 +	WOK=$LOCAL_REPOSITORY/wok
     1.8 +	
     1.9  	# Define & get options.
    1.10 -	get_options_list="$get_options_list SLITAZ_DIR SLITAZ_VERSION undigest"
    1.11 +	get_options_list="$get_options_list WOK SLITAZ_DIR SLITAZ_VERSION undigest"
    1.12  	get_options
    1.13  
    1.14  	LOCAL_REPOSITORY=$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}
    1.15 @@ -108,7 +110,6 @@
    1.16  	
    1.17  	# The path to the most important files/dir used by Tazwok.
    1.18  	PACKAGES_REPOSITORY=$LOCAL_REPOSITORY/packages
    1.19 -	WOK=$LOCAL_REPOSITORY/wok
    1.20  	INCOMING_REPOSITORY=$LOCAL_REPOSITORY/packages-incoming
    1.21  	SOURCES_REPOSITORY=$LOCAL_REPOSITORY/src
    1.22  	set_common_path