Changeset 117793 in spip-zone


Ignore:
Timestamp:
Sep 9, 2019, 10:16:07 AM (5 weeks ago)
Author:
cam.lafit
Message:

Echapper les / dans sed

  • On peut avoir un chemin dans la variable on prefere donc # à /
Location:
_outils_/importToGitea/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _outils_/importToGitea/trunk

    • Property subgit:lock:9e1425945486a6c065328f3384d631131872456e deleted
    • Property subgit:lock:2647dad1f1e01f631c0aa876a1429cba1e999fe5 set to 2019-09-09T12:16:19.829
  • _outils_/importToGitea/trunk/ImportOneRepository.sh

    r117792 r117793  
    9696subgit configure --svn-url svn://svn.tld "$repo_source"
    9797cp "models/${MODEL}.conf" "$repo_source/subgit/config"
    98 sed -i "s/__PLUGIN__/$repository_svn/" "$repo_source/subgit/config"
     98sed -i "s#__PLUGIN__#$repository_svn#" "$repo_source/subgit/config"
    9999subgit install "$repo_source"
    100100subgit uninstall "$repo_source"
Note: See TracChangeset for help on using the changeset viewer.