Changeset 1238


Ignore:
Timestamp:
Feb 27, 2018, 11:52:09 AM (7 years ago)
Author:
joergs
Message:

reposync-add-repo.sh: allow URLs with http and https

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dass-tools/usr/bin/reposync-add-repo.sh

    r1226 r1238  
    5454fi
    5555
    56 REPO_FILE=`sed "s|http://|$STARTDIR/|" <<< "$REPO_FILE_URL"`
     56REPO_FILE=`sed -r "s|http[s]?://|$STARTDIR/|" <<< "$REPO_FILE_URL"`
    5757mkdir -p `dirname $REPO_FILE`
    5858curl --silent $REPO_FILE_URL -o $REPO_FILE
Note: See TracChangeset for help on using the changeset viewer.