Changeset 718 for trunk/technical
- Timestamp:
- May 15, 2008, 3:53:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/build.sh
r717 r718 58 58 if [ -r $CONFIG_FILE ]; then 59 59 source $CONFIG_FILE 60 MOD_BUILD_DIST=`echo $BUILD_DIST | sed "s/[-+.]/_/g"` 61 #echo MOD_BUILD_DIST: $MOD_BUILD_DIST 62 #RPMS_PATHS=$[BUILD_RPMS_$MOD_BUILD_DIST] 63 #echo RPMS_PATHS: $RPM_PATHS 64 #if [ -n "$[BUILD_RPMS_$MOD_BUILD_DIST]" ]; then 65 # BUILD_RPMS=$[BUILD_RPMS_$MOD_BUILD_DIST] 66 #fi 67 #echo OUTPUT: $[BUILD_RPMS_$MOD_BUILD_DIST] 68 #:$BUILD_RPMS 69 case "$BUILD_DIST" in 70 "9.0-i386") 71 BUILD_RPMS_TEST=$BUILD_RPMS_9_0_i386 ;; 72 "sles8-i386") 73 BUILD_RPMS_TEST=$BUILD_RPMS_sles8_i386 ;; 74 "sles8-i386+update") 75 BUILD_RPMS_TEST=$BUILD_RPMS_sles8_i386_update ;; 76 "9.1-i386") 77 BUILD_RPMS_TEST=$BUILD_RPMS_9_1_i386 ;; 78 "sles9-i386") 79 BUILD_RPMS_TEST=$BUILD_RPMS_sles9_i386 ;; 80 "9.2-i386") 81 BUILD_RPMS_TEST=$BUILD_RPMS_9_2_i386 ;; 82 "9.3-i386") 83 BUILD_RPMS_TEST=$BUILD_RPMS_9_3_i386 ;; 84 "10.0-i386") 85 BUILD_RPMS_TEST=$BUILD_RPMS_10_0_i386 ;; 86 "10.2-i386") 87 BUILD_RPMS_TEST=$BUILD_RPMS_10_2_i386 ;; 88 esac 60 # case "$BUILD_DIST" in 61 # "9.0-i386") 62 # BUILD_RPMS_TEST=$BUILD_RPMS_9_0_i386 ;; 63 # "sles8-i386") 64 # BUILD_RPMS_TEST=$BUILD_RPMS_sles8_i386 ;; 65 # "sles8-i386+update") 66 # BUILD_RPMS_TEST=$BUILD_RPMS_sles8_i386_update ;; 67 # "9.1-i386") 68 # BUILD_RPMS_TEST=$BUILD_RPMS_9_1_i386 ;; 69 # "sles9-i386") 70 # BUILD_RPMS_TEST=$BUILD_RPMS_sles9_i386 ;; 71 # "9.2-i386") 72 # BUILD_RPMS_TEST=$BUILD_RPMS_9_2_i386 ;; 73 # "9.3-i386") 74 # BUILD_RPMS_TEST=$BUILD_RPMS_9_3_i386 ;; 75 # "10.0-i386") 76 # BUILD_RPMS_TEST=$BUILD_RPMS_10_0_i386 ;; 77 # "10.1-i386") 78 # BUILD_RPMS_TEST=$BUILD_RPMS_10_1_i386 ;; 79 # "10.2-i386") 80 # BUILD_RPMS_TEST=$BUILD_RPMS_10_2_i386 ;; 81 # "10.3-i386") 82 # BUILD_RPMS_TEST=$BUILD_RPMS_10_3_i386 ;; 83 # esac 84 85 MOD_BUILD_DIST=`sed "s/[-+.]/_/g" <<< $BUILD_DIST` 86 echo MOD_BUILD_DIST: $MOD_BUILD_DIST 87 eval BUILD_RPMS_TEST=\$BUILD_RPMS_$MOD_BUILD_DIST 88 #echo $BUILD_RPMS_TEST 89 89 90 if [ "$BUILD_RPMS_TEST" ]; then 90 91 if [ "$BUILD_RPMS" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.