Ignore:
Timestamp:
Feb 4, 2020 9:24:48 PM (20 months ago)
Author:
maronga
Message:

removed PALM_BIN dependencies in GUI tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palm_wd

    r3943 r4393  
    2525# -----------------
    2626# $Id$
     27# Removed PALM_BIN dependency
     28#
     29# 3943 2019-05-02 09:50:41Z maronga
    2730# Adjustments and bugfixes
    2831#
     
    99102
    100103for i in range(0,len(sys.argv)):
    101    out = sub.check_output("echo $PALM_BIN", shell=True, stderr=sub.STDOUT)
    102104   input_config = str(sys.argv[i])
    103    palm_bin = out.rstrip()
    104    palm_dir = out.split("palm")[0] + "palm/" + out.split("palm")[1].split("/")[1]
     105   palm_dir = os.getcwd()
     106   palm_bin = palm_dir + '/trunk/SCRIPTS'
    105107       
    106108config = configparser.RawConfigParser(allow_no_value=True)
Note: See TracChangeset for help on using the changeset viewer.