Skip to content
Snippets Groups Projects
Commit 6a07dcd2 authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

import: fix substitution errors by trailing slash

parent 8c2a67ad
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ do
# Get current directory settings
eval $(perl -lne '
if(m{^\s*(?:export\s+)?((?:BUILD|MODEL)_DIR|basedir)=["'\'']?(.*?)["'\'']?\s*$}) {
if(m{^\s*(?:export\s+)?((?:BUILD|MODEL)_DIR|basedir)=["'\'']?(.*?)/*["'\'']?\s*$}) {
print "OLD_$1='\''$2'\''"
}
' $RUN_SCRIPT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment