Changeset 945 for dassbuild/trunk/usr
- Timestamp:
- May 18, 2011, 1:18:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dassbuild/trunk/usr/bin/dassbuild_osc.sh
r931 r945 73 73 OSC_PACKAGE=`sed 's|/[/]*|/|g' <<< $i` 74 74 75 osc co $OSC_PACKAGE || { 76 echo 77 echo 'An existing "openSUSE Build Service" project must be specified.' 78 echo 'To specify it, use the config file OSC_PACKAGE or the environment variable OSBS_PROJECT' 79 echo 'List involved projects (by "osc search --project --involved"):' 80 osc search --project --involved 81 #echo 'osc search --package --involved' 82 exit 1 83 } 75 echo "OSC_PACKAGE: $OSC_PACKAGE" 76 if [ -d $OSC_PACKAGE ]; then 77 osc up $OSC_PACKAGE || exit 1 78 else 79 osc co $OSC_PACKAGE || { 80 echo 81 echo 'An existing "openSUSE Build Service" project must be specified.' 82 echo 'To specify it, use the config file OSC_PACKAGE or the environment variable OSBS_PROJECT' 83 echo 'List involved projects (by "osc search --project --involved"):' 84 osc search --project --involved 85 #echo 'osc search --package --involved' 86 exit 1 87 } 88 fi 89 84 90 # rsync is not usable, because ":" is interpretaded as remote host 85 91 #rsync -av "$BUILDSRC_DIR/*" "$OSC_PACKAGE/."
Note:
See TracChangeset
for help on using the changeset viewer.