Commit 2898a689 authored by Michael Völske's avatar Michael Völske

fix paths for symlinked main script

parent 5151c299
#!/bin/bash
# -*- coding: utf-8 ; mode: python -*-
"true" '''\'
rootpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
RP="${BASH_SOURCE[0]}"
while [ -h "$RP" ]; do
DIR="$( cd -P "$( dirname "$RP" )" && pwd )"
RP="$(readlink "$RP")"
[[ $RP != /* ]] && RP="$DIR/$RP"
done
rootpath="$(cd "$(dirname "$RP")" && pwd -P)"
. ${rootpath}/libs/bashhelper.sh
if $(cd "$webiscmdrootpath" ; git_repo_has_updates ); then
logWarn "Your webis-cmd is outdated. Please run 'webis core update'"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment