From: Paul.Gibbons Date: Mon, 14 Mar 2011 13:03:22 +0000 (+0000) Subject: Should use $CURRENT_CFG_METHOD when saving profile X-Git-Tag: 1.0~172 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6099cfa25ce9c6774da4c14eb3c6df2630ce32a0;p=deb_pkgs%2Fautorandr.git Should use $CURRENT_CFG_METHOD when saving profile --- diff --git a/autorandr b/autorandr index 9acedff..70e3c7a 100755 --- a/autorandr +++ b/autorandr @@ -229,7 +229,7 @@ if [ -n "$SAVE_PROFILE" ]; then echo "Saving current configuration as profile '${SAVE_PROFILE}'" mkdir -p "$PROFILES/$SAVE_PROFILE" echo "$CURRENT_SETUP" > "$PROFILES/$SAVE_PROFILE/setup" - current_cfg > "$PROFILES/$SAVE_PROFILE/config" + $CURRENT_CFG_METHOD > "$PROFILES/$SAVE_PROFILE/config" exit 0 fi