pharo-project / pharo-zeroconf

ZeroConf script generator for http://get.pharo.org
16 stars 15 forks source link

find used for image and changes renaming should not be recursive #22

Open pavel-krivanek opened 4 years ago

pavel-krivanek commented 4 years ago

This is how zeroconf renames the image/changes:

PHARO_IMAGE=`find $TMP_DIR -name \*.image`
mv -f "$PHARO_IMAGE" Pharo.image
PHARO_CHANGES=`find $TMP_DIR -name \*.changes`
mv -f "$PHARO_CHANGES" Pharo.changes;

find is recursive, by default, the argument -maxdepth 1 should be used