Changeset 30197
- Timestamp:
- 2015-09-04T17:18:38+12:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/ocr/trunk/lib/cascade-lib.bash
r16800 r30197 114 114 } 115 115 116 117 opt_run_make() 116 opt_run_setuppy() 118 117 { 119 118 local type=$1 … … 128 127 if [ $type = "1" ] ; then 129 128 ( cd $package$version ; \ 129 python setup.py $opt_target) 130 131 if [ $? != 0 ] ; then 132 echo " Error encountered running *setup.py $target* stage of $progname" 133 exit 1 134 fi 135 fi 136 } 137 138 opt_run_make() 139 { 140 local type=$1 141 local package=$2 142 local version=$3 143 local opt_target="" 144 145 if [ ! -z "$4" ] ; then 146 opt_target=$4 147 fi 148 149 if [ $type = "1" ] ; then 150 ( cd $package$version ; \ 130 151 make $opt_target) 131 152 … … 137 158 } 138 159 139 160 opt_run_cmake() 161 { 162 local type=$1 163 local package=$2 164 local version=$3 165 local subdir=$4 166 local opt_target="" 167 168 if [ ! -z "$5" ] ; then 169 opt_target=$5 170 fi 171 172 if [ $type = "1" ] ; then 173 ( cd $package$version/$subdir ; \ 174 make $opt_target) 175 176 if [ $? != 0 ] ; then 177 echo " Error encountered running *make $target* stage of $progname" 178 exit 1 179 fi 180 fi 181 } 140 182 141 183 force_untar=0
Note:
See TracChangeset
for help on using the changeset viewer.