Changeset 39401 in vbox
- Timestamp:
- Nov 23, 2011 4:24:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/gen-slickedit-workspace.sh
r39397 r39401 383 383 for subdir in "${MY_SLICKDIR_}/"*; 384 384 do 385 if test -f "${subdir}/${MY_USERCPP_H}" ; then385 if test -f "${subdir}/${MY_USERCPP_H}" -o -f "${subdir}/vslick.stu"; then 386 386 MY_CUR_VER_NUM=0 387 387 MY_CUR_VER=`echo "${subdir}" | ${MY_SED} -e 's,^.*/,,g'` … … 414 414 MY_SLICKDIR="${MY_SLICKDIR_}/${MY_VER}" 415 415 MY_USERCPP_H_FULL="${MY_SLICKDIR}/${MY_USERCPP_H}" 416 if test - f "${MY_USERCPP_H_FULL}"; then416 if test -d "${MY_SLICKDIR}"; then 417 417 echo "Found SlickEdit v${MY_VER} preprocessor file: ${MY_USERCPP_H_FULL}" 418 418 else … … 623 623 624 624 # Install it. 625 if test -n "${MY_USERCPP_H_FULL}" -a -f "${MY_USERCPP_H_FULL}"; then 626 # ${MY_MV} -vf "${MY_USERCPP_H_FULL}" "${MY_USERCPP_H_FULL}.bak" 627 # ${MY_CP} -v "${MY_FILE}" "${MY_USERCPP_H_FULL}" 628 echo "Updated the SlickEdit preprocessor file. (Previous version renamed to .bak.)" 625 if test -n "${MY_USERCPP_H_FULL}" -a -d "${MY_SLICKDIR}"; then 626 if test -f "${MY_USERCPP_H_FULL}"; then 627 ${MY_MV} -vf "${MY_USERCPP_H_FULL}" "${MY_USERCPP_H_FULL}.bak" 628 629 ${MY_CP} -v "${MY_FILE}" "${MY_USERCPP_H_FULL}" 630 echo "Updated the SlickEdit preprocessor file. (Previous version renamed to .bak.)" 631 else 632 echo "Created the SlickEdit preprocessor file." 633 fi 629 634 fi 630 635 }
Note:
See TracChangeset
for help on using the changeset viewer.